Android APIs
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)

Added in API level 1

Creates a new PKIXCertPathValidatorResult with the specified trust anchor, the valid policy tree and the subject public key.

Parameters
trustAnchor TrustAnchor: the trust anchor describing the certification authority (CA) that served as trust anchor for the certification path.
policyTree PolicyNode: the valid policy tree from the validation.
subjectPublicKey PublicKey: the subject public key from the validation.

Public Methods

public Object clone ()

Added in API level 1

Clones this PKIXCertPathValidatorResult instance.

Returns
Object the cloned instance.

public PolicyNode getPolicyTree ()

Added in API level 1

Returns the valid policy tree from the validation.

Returns
PolicyNode the valid policy tree from the validation.

public PublicKey getPublicKey ()

Added in API level 1

Returns the subject public key from the validation.

Returns
PublicKey the subject public key from the validation.

public TrustAnchor getTrustAnchor ()

Added in API level 1

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

Returns
TrustAnchor the trust anchor.

public String toString ()

Added in API level 1

Returns a string representation for this PKIXCertPathValidatorResult instance.

Returns
String a string representation for this PKIXCertPathValidatorResult instance.