Java™ Platform
Standard Ed. 8
compact1, compact2, compact3
java.security.cert
Class PKIXCertPathBuilderResult
-
-
Method Summary
All Methods Instance Methods Concrete Methods
| Modifier and Type |
Method |
Description |
CertPath |
getCertPath() |
Returns the built and validated certification path.
|
String |
toString() |
Return a printable representation of this
PKIXCertPathBuilderResult.
|
-
-
Constructor Detail
-
PKIXCertPathBuilderResult
public PKIXCertPathBuilderResult(CertPath certPath,
TrustAnchor trustAnchor,
PolicyNode policyTree,
PublicKey subjectPublicKey)
Creates an instance of PKIXCertPathBuilderResult
containing the specified parameters.
- Parameters:
certPath - the validated CertPath
trustAnchor - a TrustAnchor describing the CA that
served as a trust anchor for the certification path
policyTree - the immutable valid policy tree, or null
if there are no valid policies
subjectPublicKey - the public key of the subject
- Throws:
NullPointerException - if the certPath,
trustAnchor or subjectPublicKey parameters
are null
Java™ Platform
Standard Ed. 8
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.