public class PKIXCertPathBuilderResult extends PKIXCertPathValidatorResult implements CertPathBuilderResult
CertPathBuilder.build(java.security.cert.CertPathParameters)
method
of PKIX CertPathBuilder
s.CertPathBuilder
,
CertPathBuilderResult
Constructor and Description |
---|
PKIXCertPathBuilderResult(CertPath certPath,
TrustAnchor trustAnchor,
PolicyNode policyTree,
PublicKey subjectPublicKey)
Creates a new PKIXCertPathBuilderResult.
|
Modifier and Type | Method and Description |
---|---|
CertPath |
getCertPath()
Returns the certificate path that was built.
|
String |
toString()
Returns a printable string representation of this result.
|
clone, getPolicyTree, getPublicKey, getTrustAnchor
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
clone
public PKIXCertPathBuilderResult(CertPath certPath, TrustAnchor trustAnchor, PolicyNode policyTree, PublicKey subjectPublicKey)
certPath
- The certificate path.trustAnchor
- The trust anchor.policyTree
- The root node of the policy tree.subjectPublicKey
- The public key.NullPointerException
- If certPath, trustAnchor or
subjectPublicKey is null.public CertPath getCertPath()
getCertPath
in interface CertPathBuilderResult
public String toString()
PKIXCertPathValidatorResult
toString
in class PKIXCertPathValidatorResult
Object.getClass()
,
Object.hashCode()
,
Class.getName()
,
Integer.toHexString(int)