An instance of this class is retured by the build( ) method of a CertPathBuilder created for the "PKIX" algorithm. getCertPath( ) returns the CertPath object that was built, and methods inherited from the superclass return additional information such as the public key of the subject of the certificate chain and the trust anchor that terminates the chain. Figure 14-67. java.security.cert.PKIXCertPathBuilderResultpublic class PKIXCertPathBuilderResult extends PKIXCertPathValidatorResult implements CertPathBuilderResult { // Public Constructors public PKIXCertPathBuilderResult (CertPath certPath , TrustAnchor trustAnchor , PolicyNode policyTree , java.security.PublicKey subjectPublicKey ); // Methods Implementing CertPathBuilderResult public CertPath getCertPath ( ); // Public Methods Overriding PKIXCertPathValidatorResult public String toString ( ); } |