Skip to content

Most visited

Recently visited

navigation
Added in API level 1

PKIXCertPathValidatorResult

public class PKIXCertPathValidatorResult
extends Object implements CertPathValidatorResult

java.lang.Object
   ↳ java.security.cert.PKIXCertPathValidatorResult
Known Direct Subclasses


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

See also:

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.

Inherited methods

From class java.lang.Object
From interface java.security.cert.CertPathValidatorResult

Public constructors

PKIXCertPathValidatorResult

Added in API level 1
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.

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

clone

Added in API level 1
Object clone ()

Clones this PKIXCertPathValidatorResult instance.

Returns
Object the cloned instance.

getPolicyTree

Added in API level 1
PolicyNode getPolicyTree ()

Returns the valid policy tree from the validation.

Returns
PolicyNode the valid policy tree from the validation.

getPublicKey

Added in API level 1
PublicKey getPublicKey ()

Returns the subject public key from the validation.

Returns
PublicKey the subject public key from the validation.

getTrustAnchor

Added in API level 1
TrustAnchor getTrustAnchor ()

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

Returns
TrustAnchor the trust anchor.

toString

Added in API level 1
String toString ()

Returns a string representation for this PKIXCertPathValidatorResult instance.

Returns
String a string representation for this PKIXCertPathValidatorResult instance.
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.