Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

java.security.cert
Class PKIXCertPathValidatorResult  view PKIXCertPathValidatorResult download PKIXCertPathValidatorResult.java

java.lang.Object
  extended byjava.security.cert.PKIXCertPathValidatorResult
All Implemented Interfaces:
CertPathValidatorResult, java.lang.Cloneable
Direct Known Subclasses:
PKIXCertPathBuilderResult

public class PKIXCertPathValidatorResult
extends java.lang.Object
implements CertPathValidatorResult

Results returned by the CertPathValidator.validate(java.security.cert.CertPath,java.security.cert.CertPathParameters) 55 method for PKIX CertPathValidators.


Field Summary
private  PolicyNode policyTree
          The root node of the policy tree.
private  java.security.PublicKey subjectPublicKey
          The subject's public key.
private  TrustAnchor trustAnchor
          The trust anchor.
 
Constructor Summary
PKIXCertPathValidatorResult(TrustAnchor trustAnchor, PolicyNode policyTree, java.security.PublicKey subjectPublicKey)
          Creates a new PKIXCertPathValidatorResult.
 
Method Summary
 java.lang.Object clone()
          Returns a copy of this object.
 PolicyNode getPolicyTree()
          Returns the root node of the policy tree.
 java.security.PublicKey getPublicKey()
          Returns the subject public key.
 TrustAnchor getTrustAnchor()
          Returns the trust anchor.
 java.lang.String toString()
          Returns a printable string representation of this result.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

trustAnchor

private final TrustAnchor trustAnchor
The trust anchor.


policyTree

private final PolicyNode policyTree
The root node of the policy tree.


subjectPublicKey

private final java.security.PublicKey subjectPublicKey
The subject's public key.

Constructor Detail

PKIXCertPathValidatorResult

public PKIXCertPathValidatorResult(TrustAnchor trustAnchor,
                                   PolicyNode policyTree,
                                   java.security.PublicKey subjectPublicKey)
Creates a new PKIXCertPathValidatorResult.

Method Detail

getTrustAnchor

public TrustAnchor getTrustAnchor()
Returns the trust anchor.


getPolicyTree

public PolicyNode getPolicyTree()
Returns the root node of the policy tree.


getPublicKey

public java.security.PublicKey getPublicKey()
Returns the subject public key.


clone

public java.lang.Object clone()
Returns a copy of this object.

Specified by:
clone in interface CertPathValidatorResult

toString

public java.lang.String toString()
Returns a printable string representation of this result.