public class PKIXCertPathBuilderResult extends PKIXCertPathValidatorResult implements CertPathBuilderResult
实例PKIXCertPathBuilderResult由CertPathBuilder对象实现的实现算法的build方法返回。
所有的PKIXCertPathBuilderResult对象包含由生成算法构建证书路径,有效的政策树和主体公钥算法的建立,和一个TrustAnchor描述证书颁发机构(CA)作为一种认证路径信任锚。
并发访问
除非另有说明,在这个类中定义的方法不是线程安全的。需要访问一个单一对象的多个线程同时应同步,并提供必要的锁。多线程每个操作单独的对象不需要同步。
CertPathBuilderResult
| Constructor and Description |
|---|
PKIXCertPathBuilderResult(CertPath certPath, TrustAnchor trustAnchor, PolicyNode policyTree, PublicKey subjectPublicKey)
创建包含指定的参数
PKIXCertPathBuilderResult实例。
|
| Modifier and Type | Method and Description |
|---|---|
CertPath |
getCertPath()
返回内置和验证的认证路径。
|
String |
toString()
返回一个表示该
PKIXCertPathBuilderResult打印。
|
clone, getPolicyTree, getPublicKey, getTrustAnchorequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitclonepublic PKIXCertPathBuilderResult(CertPath certPath, TrustAnchor trustAnchor, PolicyNode policyTree, PublicKey subjectPublicKey)
PKIXCertPathBuilderResult实例。
certPath -验证
CertPath
trustAnchor -
TrustAnchor描述CA,担任一个证书路径信任锚
policyTree -永恒的有效政策树,或
null如果没有有效的政策
subjectPublicKey主题的公钥
NullPointerException -如果
certPath,
trustAnchor或
subjectPublicKey参数
null
public CertPath getCertPath()
getCertPath 接口
CertPathBuilderResult
CertPath(不
null)
public String toString()
PKIXCertPathBuilderResult打印。
toString 方法重写,继承类
PKIXCertPathValidatorResult
String描述这
PKIXCertPathBuilderResult内容
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.