java.security.cert
public class PKIXCertPathValidatorResult extends Object implements CertPathValidatorResult
CertPathValidator.validate(java.security.cert.CertPath,java.security.cert.CertPathParameters)
method for PKIX CertPathValidator
s.CertPathValidator
Constructor and Description |
---|
PKIXCertPathValidatorResult(TrustAnchor trustAnchor,
PolicyNode policyTree,
PublicKey subjectPublicKey)
Creates a new PKIXCertPathValidatorResult.
|
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Returns a copy of this object.
|
PolicyNode |
getPolicyTree()
Returns the root node of the policy tree.
|
PublicKey |
getPublicKey()
Returns the subject public key.
|
TrustAnchor |
getTrustAnchor()
Returns the trust anchor.
|
String |
toString()
Returns a printable string representation of this result.
|
public PKIXCertPathValidatorResult(TrustAnchor trustAnchor, PolicyNode policyTree, PublicKey subjectPublicKey)
trustAnchor
- The trust anchor.policyTree
- The root node of the policy tree.subjectPublicKey
- The public key.NullPointerException
- If either trustAnchor or
subjectPublicKey is null.public TrustAnchor getTrustAnchor()
public PolicyNode getPolicyTree()
public PublicKey getPublicKey()
public Object clone()
clone
in interface CertPathValidatorResult
clone
in class Object
Cloneable
public String toString()
toString
in class Object
Object.getClass()
,
Object.hashCode()
,
Class.getName()
,
Integer.toHexString(int)