Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
public class

PKIXCertPathBuilderResult

extends PKIXCertPathValidatorResult
implements CertPathBuilderResult
java.lang.Object
   ↳ java.security.cert.PKIXCertPathValidatorResult
     ↳ java.security.cert.PKIXCertPathBuilderResult

Class Overview

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.
[Expand]
Inherited Methods
From class java.security.cert.PKIXCertPathValidatorResult
From class java.lang.Object
From interface java.security.cert.CertPathBuilderResult
From interface java.security.cert.CertPathValidatorResult

Public Constructors

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

Added in API level 1

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 the validated certification path.
trustAnchor the trust anchor.
policyTree the policy tree (or null if not used).
subjectPublicKey the public key.
Throws
NullPointerException if the cerPath , trustAnchor or subjectPolicyKey is null .

Public Methods

public CertPath getCertPath ()

Added in API level 1

Returns the validated certification path.

Returns
  • the validated certification path.

public String toString ()

Added in API level 1

Returns a string representation of this PKIXCertPathBuilderResult instance.

Returns
  • a string representation of this PKIXCertPathBuilderResult instance.