Team LiB
Previous Section Next Section

PKIXCertPathValidatorResultjava.security.cert

Java 1.4cloneable

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

    Team LiB
    Previous Section Next Section