public class

PKIXCertPathValidatorResult

extends Object
implements CertPathValidatorResult
java.lang.Object
   ↳ java.security.cert.PKIXCertPathValidatorResult
Known Direct Subclasses

Class Overview

The implementation of the result of the PKIX certification path validation.

Summary

Public Constructors
PKIXCertPathValidatorResult(TrustAnchor trustAnchor, PolicyNode policyTree, PublicKey subjectPublicKey)
Creates a new PKIXCertPathValidatorResult with the specified trust anchor, the valid policy tree and the subject public key.
Public Methods
Object clone()
Clones this PKIXCertPathValidatorResult instance.
PolicyNode getPolicyTree()
Returns the valid policy tree from the validation.
PublicKey getPublicKey()
Returns the subject public key from the validation.
TrustAnchor getTrustAnchor()
Returns the trust anchor describing the certification authority (CA) that served as trust anchor for this certification path.
String toString()
Returns a string representation for this PKIXCertPathValidatorResult instance.
[Expand]
Inherited Methods
From class java.lang.Object
From interface java.security.cert.CertPathValidatorResult

Public Constructors

public PKIXCertPathValidatorResult (TrustAnchor trustAnchor, PolicyNode policyTree, PublicKey subjectPublicKey)

Since: API Level 1

Creates a new PKIXCertPathValidatorResult with 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.

Public Methods

public Object clone ()

Since: API Level 1

Clones this PKIXCertPathValidatorResult instance.

Returns
  • the cloned instance.

public PolicyNode getPolicyTree ()

Since: API Level 1

Returns the valid policy tree from the validation.

Returns
  • the valid policy tree from the validation.

public PublicKey getPublicKey ()

Since: API Level 1

Returns the subject public key from the validation.

Returns
  • the subject public key from the validation.

public TrustAnchor getTrustAnchor ()

Since: API Level 1

Returns the trust anchor describing the certification authority (CA) that served as trust anchor for this certification path.

Returns
  • the trust anchor.

public String toString ()

Since: API Level 1

Returns a string representation for this PKIXCertPathValidatorResult instance.

Returns
  • a string representation for this PKIXCertPathValidatorResult instance.