Skip to content

Most visited

Recently visited

navigation
Added in API level 1

PKIXCertPathBuilderResult

public class PKIXCertPathBuilderResult
extends PKIXCertPathValidatorResult implements CertPathBuilderResult

java.lang.Object
   ↳ java.security.cert.PKIXCertPathValidatorResult
     ↳ java.security.cert.PKIXCertPathBuilderResult


The result of the PKIX certification path builder, returned by build(CertPathParameters).

Summary

Public constructors

PKIXCertPathBuilderResult(CertPath certPath, TrustAnchor trustAnchor, PolicyNode policyTree, PublicKey subjectPublicKey)

Creates a new PKIXCertPathBuilderResult instance with the specified validated certification path, the trust anchor of the certification path, the policy tree and the public key of the subject.

Public methods

CertPath getCertPath()

Returns the validated certification path.

String toString()

Returns a string representation of this PKIXCertPathBuilderResult instance.

Inherited methods

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

Public constructors

PKIXCertPathBuilderResult

Added in API level 1
PKIXCertPathBuilderResult (CertPath certPath, 
                TrustAnchor trustAnchor, 
                PolicyNode policyTree, 
                PublicKey subjectPublicKey)

Creates a new PKIXCertPathBuilderResult instance with the specified validated certification path, the trust anchor of the certification path, the policy tree and the public key of the subject.

Parameters
certPath CertPath: the validated certification path.
trustAnchor TrustAnchor: the trust anchor.
policyTree PolicyNode: the policy tree (or null if not used).
subjectPublicKey PublicKey: the public key.
Throws
NullPointerException if the cerPath, trustAnchor or subjectPolicyKey is null.

Public methods

getCertPath

Added in API level 1
CertPath getCertPath ()

Returns the validated certification path.

Returns
CertPath the validated certification path.

toString

Added in API level 1
String toString ()

Returns a string representation of this PKIXCertPathBuilderResult instance.

Returns
String a string representation of this PKIXCertPathBuilderResult 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.