java.security.cert

Class PKIXCertPathBuilderResult

public class PKIXCertPathBuilderResult extends PKIXCertPathValidatorResult implements CertPathBuilderResult

The result of calling the {@link CertPathBuilder#build(java.security.cert.CertPathParameters)} method of PKIX {@link CertPathBuilder}s.

See Also: CertPathBuilder CertPathBuilderResult

Constructor Summary
PKIXCertPathBuilderResult(CertPath certPath, TrustAnchor trustAnchor, PolicyNode policyTree, PublicKey subjectPublicKey)
Creates a new PKIXCertPathBuilderResult.
Method Summary
CertPathgetCertPath()
Returns the certificate path that was built.
StringtoString()

Constructor Detail

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.

Method Detail

getCertPath

public CertPath getCertPath()
Returns the certificate path that was built.

Returns: The certificate path that was built.

toString

public String toString()