APIdia Launch Partner
Top Description Fields Constructors Methods
sun.security.provider.certpath

public final Class SunCertPathBuilderResult

extends PKIXCertPathBuilderResult
Class Inheritance
Imports
sun.security.util.Debug, java.security.PublicKey, java.security.cert.CertPath, .PKIXCertPathBuilderResult, .PolicyNode, .TrustAnchor

This class represents the result of a SunCertPathBuilder build. Since all paths returned by the SunCertPathProvider are PKIX validated the result contains the valid policy tree and subject public key returned by the algorithm. It also contains the trust anchor and debug information represented in the form of an adjacency list.
Author
Sean Mullan
Since
1.4
See Also
PKIXCertPathBuilderResult

Field Summary

Modifier and TypeField and Description
private final AdjacencyList
private static final Debug

Constructor Summary

AccessConstructor and Description
pack-priv
SunCertPathBuilderResult(CertPath
the validated CertPath
certPath
,
TrustAnchor
a TrustAnchor describing the CA that served as a trust anchor for the certification path
trustAnchor
,
PolicyNode
the valid policy tree, or null if there are no valid policies
policyTree
,
PublicKey
the public key of the subject
subjectPublicKey
,
AdjacencyList
an Adjacency list containing debug information
adjList
)

Creates a SunCertPathBuilderResult instance.

Method Summary

Modifier and TypeMethod and Description
public AdjacencyList

Returns:

The adjacency list containing information about the build.
getAdjacencyList
()

Returns the adjacency list containing information about the build.

Inherited from java.security.cert.PKIXCertPathBuilderResult:
getCertPathtoString

Field Detail

adjListback to summary
private final AdjacencyList adjList
debugback to summary
private static final Debug debug

Constructor Detail

SunCertPathBuilderResultback to summary
pack-priv SunCertPathBuilderResult(CertPath certPath, TrustAnchor trustAnchor, PolicyNode policyTree, PublicKey subjectPublicKey, AdjacencyList adjList)

Creates a SunCertPathBuilderResult instance.

Parameters
certPath:CertPath

the validated CertPath

trustAnchor:TrustAnchor

a TrustAnchor describing the CA that served as a trust anchor for the certification path

policyTree:PolicyNode

the valid policy tree, or null if there are no valid policies

subjectPublicKey:PublicKey

the public key of the subject

adjList:AdjacencyList

an Adjacency list containing debug information

Method Detail

getAdjacencyListback to summary
public AdjacencyList getAdjacencyList()

Returns the adjacency list containing information about the build.

Returns:AdjacencyList

The adjacency list containing information about the build.