Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
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.
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( ); }