public class PKIXCertPathBuilderResult extends PKIXCertPathValidatorResult implements CertPathBuilderResult
CertPathBuilder.build(CertPathParameters).| Constructor and Description |
|---|
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. |
| Modifier and Type | Method and Description |
|---|---|
CertPath |
getCertPath()
Returns the validated certification path.
|
String |
toString()
Returns a string representation of this
PKIXCertPathBuilderResult
instance. |
clone, getPolicyTree, getPublicKey, getTrustAnchorequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitclonepublic PKIXCertPathBuilderResult(CertPath certPath, TrustAnchor trustAnchor, PolicyNode policyTree, PublicKey subjectPublicKey)
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.certPath - the validated certification path.trustAnchor - the trust anchor.policyTree - the policy tree (or null if not used).subjectPublicKey - the public key.NullPointerException - if the cerPath, trustAnchor or subjectPolicyKey is null.public CertPath getCertPath()
getCertPath in interface CertPathBuilderResultpublic String toString()
PKIXCertPathBuilderResult
instance.toString in class PKIXCertPathValidatorResultPKIXCertPathBuilderResult
instance.