Package java.security.cert
Class PKIXCertPathValidatorResult
java.lang.Object
java.security.cert.PKIXCertPathValidatorResult
- All Implemented Interfaces:
Cloneable,CertPathValidatorResult
- Direct Known Subclasses:
PKIXCertPathBuilderResult
public class PKIXCertPathValidatorResult extends Object implements CertPathValidatorResult
The implementation of the result of the PKIX certification path validation.
-
Constructor Summary
Constructors Constructor Description PKIXCertPathValidatorResult(TrustAnchor trustAnchor, PolicyNode policyTree, PublicKey subjectPublicKey)Creates a newPKIXCertPathValidatorResultwith the specified trust anchor, the valid policy tree and the subject public key. -
Method Summary
Modifier and Type Method Description Objectclone()Clones thisPKIXCertPathValidatorResultinstance.PolicyNodegetPolicyTree()Returns the valid policy tree from the validation.PublicKeygetPublicKey()Returns the subject public key from the validation.TrustAnchorgetTrustAnchor()Returns the trust anchor describing the certification authority (CA) that served as trust anchor for this certification path.StringtoString()Returns a string representation for thisPKIXCertPathValidatorResultinstance.
-
Constructor Details
-
PKIXCertPathValidatorResult
public PKIXCertPathValidatorResult(TrustAnchor trustAnchor, PolicyNode policyTree, PublicKey subjectPublicKey)Creates a newPKIXCertPathValidatorResultwith the specified trust anchor, the valid policy tree and the subject public key.- Parameters:
trustAnchor- the trust anchor describing the certification authority (CA) that served as trust anchor for the certification path.policyTree- the valid policy tree from the validation.subjectPublicKey- the subject public key from the validation.
-
-
Method Details
-
getPolicyTree
Returns the valid policy tree from the validation.- Returns:
- the valid policy tree from the validation.
-
getPublicKey
Returns the subject public key from the validation.- Returns:
- the subject public key from the validation.
-
getTrustAnchor
Returns the trust anchor describing the certification authority (CA) that served as trust anchor for this certification path.- Returns:
- the trust anchor.
-
clone
Clones thisPKIXCertPathValidatorResultinstance.- Specified by:
clonein interfaceCertPathValidatorResult- Overrides:
clonein classObject- Returns:
- the cloned instance.
-
toString
Returns a string representation for thisPKIXCertPathValidatorResultinstance.
-