public class

PKIXCertPathBuilderResult

extends PKIXCertPathValidatorResult
implements CertPathBuilderResult
java.lang.Object
   ↳ java.security.cert.PKIXCertPathValidatorResult
     ↳ java.security.cert.PKIXCertPathBuilderResult

Class Overview

The result of the PKIX certification path builder, returned by build(CertPathParameters).

Summary

Public Constructors
PKIXCertPathBuilderResult(CertPath certPath, TrustAnchor trustAnchor, PolicyNode policyTree, PublicKey subjectPublicKey)
Creates a new PKIXCertPathBuilderResult instance with the specified validated certification path, the trust anchor of the certification path, the policy tree and the public key of the subject.
Public Methods
CertPath getCertPath()
Returns the validated certification path.
String toString()
Returns a string representation of this PKIXCertPathBuilderResult instance.
[Expand]
Inherited Methods
From class java.security.cert.PKIXCertPathValidatorResult
From class java.lang.Object
From interface java.security.cert.CertPathBuilderResult
From interface java.security.cert.CertPathValidatorResult

Public Constructors

public PKIXCertPathBuilderResult (CertPath certPath, TrustAnchor trustAnchor, PolicyNode policyTree, PublicKey subjectPublicKey)

Creates a new PKIXCertPathBuilderResult instance with the specified validated certification path, the trust anchor of the certification path, the policy tree and the public key of the subject.

Parameters
certPath the validated certification path.
trustAnchor the trust anchor.
policyTree the policy tree (or null if not used).
subjectPublicKey the public key.
Throws
NullPointerException if the cerPath, trustAnchor or subjectPolicyKey is null.

Public Methods

public CertPath getCertPath ()

Returns the validated certification path.

Returns
  • the validated certification path.

public String toString ()

Returns a string representation of this PKIXCertPathBuilderResult instance.

Returns
  • a string representation of this PKIXCertPathBuilderResult instance.