Instances of PKIXCertPathBuilderResult are returned by
the build method of CertPathBuilder
objects implementing the PKIX algorithm.
All PKIXCertPathBuilderResult objects contain the
certification path constructed by the build algorithm, the
valid policy tree and subject public key resulting from the build
algorithm, and a TrustAnchor describing the certification
authority (CA) that served as a trust anchor for the certification path.
Concurrent Access
Unless otherwise specified, the methods defined in this class are not thread-safe. Multiple threads that need to access a single object concurrently should synchronize amongst themselves and provide the necessary locking. Multiple threads each manipulating separate objects need not synchronize.
CertPathBuilderResult
| Access | Constructor and Description |
|---|---|
| public | PKIXCertPathBuilderResult(CertPath
the validated certPath, TrustAnchor CertPatha trustAnchor, PolicyNode TrustAnchor describing the CA that
served as a trust anchor for the certification paththe immutable valid policy tree, or policyTree, PublicKey null
if there are no valid policiesthe public key of the subject subjectPublicKey)Creates an instance of |
| Modifier and Type | Method and Description |
|---|---|
| public CertPath | Returns: the built and validatedCertPath (never
null)Implements java. Returns the built and validated certification path. |
| public String | Returns: aString describing the contents of this
PKIXCertPathBuilderResultOverrides java. Return a printable representation of this
|
| certPath | back to summary |
|---|---|
| private final CertPath certPath | |
| PKIXCertPathBuilderResult | back to summary |
|---|---|
| public PKIXCertPathBuilderResult(CertPath certPath, TrustAnchor trustAnchor, PolicyNode policyTree, PublicKey subjectPublicKey) Creates an instance of
| |
| getCertPath | back to summary |
|---|---|
| public CertPath getCertPath() Implements java. Returns the built and validated certification path. The
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Return a printable representation of this
| |