|
Préférences
Moteurs de recherche
|
||||||||||||||||
JavaTM 2 Platform Std. Ed. v1.4.2
java.security.cert
|
Constructor Summary | |
PKIXCertPathBuilderResult(CertPath certPath,
TrustAnchor trustAnchor,
PolicyNode policyTree,
PublicKey subjectPublicKey)
Creates an instance of PKIXCertPathBuilderResult
containing the specified parameters. |
Method Summary | |
CertPath |
getCertPath()
Returns the built and validated certification path. |
String |
toString()
Return a printable representation of this PKIXCertPathBuilderResult . |
Methods inherited from class java.security.cert.PKIXCertPathValidatorResult |
clone, getPolicyTree, getPublicKey, getTrustAnchor |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.security.cert.CertPathBuilderResult |
clone |
Constructor Detail |
public PKIXCertPathBuilderResult(CertPath certPath, TrustAnchor trustAnchor, PolicyNode policyTree, PublicKey subjectPublicKey)
PKIXCertPathBuilderResult
containing the specified parameters.
certPath
- the validated CertPath
trustAnchor
- a TrustAnchor
describing the CA that
served as a trust anchor for the certification pathpolicyTree
- the immutable valid policy tree, or null
if there are no valid policiessubjectPublicKey
- the public key of the subject
NullPointerException
- if the certPath
,
trustAnchor
or subjectPublicKey
parameters
are null
Method Detail |
public CertPath getCertPath()
CertPath
object does not include the trust anchor.
Instead, use the getTrustAnchor()
method to
obtain the TrustAnchor
that served as the trust anchor
for the certification path.
getCertPath
in interface CertPathBuilderResult
CertPath
(never
null
)public String toString()
PKIXCertPathBuilderResult
.
toString
in class PKIXCertPathValidatorResult
String
describing the contents of this
PKIXCertPathBuilderResult