Name
PKIXCertPathValidatorResult
Synopsis
An instance of this class is returned upon
successful validation by the validate(
)
method of a CertPathValidator
created for the
“PKIX” algorithm.
getPublicKey( )
returns the validated public key
of the subject of the certificate chain. getTrustAnchor(
)
returns the
TrustAnchor
that anchors the chain.
Figure 14-69. java.security.cert.PKIXCertPathValidatorResult
public class PKIXCertPathValidatorResult implements CertPathValidatorResult { // Public Constructors public PKIXCertPathValidatorResult(TrustAnchor trustAnchor, PolicyNode policyTree, java.security.PublicKey subjectPublicKey); // Public Instance Methods public PolicyNode getPolicyTree( ); public java.security.PublicKey getPublicKey( ); public TrustAnchor getTrustAnchor( ); // Methods Implementing CertPathValidatorResult public Object clone( ); // Public Methods Overriding Object public String toString( ); }
Subclasses
PKIXCertPathBuilderResult
Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.