java.security.cert
Class PKIXCertPathBuilderResult
java.lang.Object
java.security.cert.PKIXCertPathValidatorResult
java.security.cert.PKIXCertPathBuilderResult
- All Implemented Interfaces:
- Cloneable, CertPathBuilderResult, CertPathValidatorResult
public class PKIXCertPathBuilderResult
- extends PKIXCertPathValidatorResult
- implements CertPathBuilderResult
The result of calling the CertPathBuilder.build(java.security.cert.CertPathParameters) method
of PKIX CertPathBuilders.
- See Also:
CertPathBuilder,
CertPathBuilderResult
PKIXCertPathBuilderResult
public PKIXCertPathBuilderResult(CertPath certPath,
TrustAnchor trustAnchor,
PolicyNode policyTree,
PublicKey subjectPublicKey)
- Creates a new PKIXCertPathBuilderResult.
- Parameters:
certPath - The certificate path.trustAnchor - The trust anchor.policyTree - The root node of the policy tree.subjectPublicKey - The public key.
- Throws:
NullPointerException - If certPath, trustAnchor or
subjectPublicKey is null.
getCertPath
public CertPath getCertPath()
- Returns the certificate path that was built.
- Specified by:
getCertPath in interface CertPathBuilderResult
- Returns:
- The certificate path that was built.
toString
public String toString()
- Description copied from class:
PKIXCertPathValidatorResult
- Returns a printable string representation of this result.
- Overrides:
toString in class PKIXCertPathValidatorResult
- Returns:
- A printable string representation of this result.
- See Also:
Object.getClass(),
Object.hashCode(),
Class.getName(),
Integer.toHexString(int)