| 
 | JavaTM Platform Standard Ed. 6 | |||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||
| 使用 CertPath 的软件包 | |
|---|---|
| java.security | 为安全框架提供类和接口。 | 
| java.security.cert | 提供用于解析和管理证书、证书撤消列表 (CRL) 和证书路径的类和接口。 | 
| java.security 中 CertPath 的使用 | 
|---|
| 返回 CertPath 的 java.security 中的方法 | |
|---|---|
|  CertPath | Timestamp.getSignerCertPath()返回 Timestamping Authority 的证书路径。 | 
|  CertPath | CodeSigner.getSignerCertPath()返回签名者的证书路径。 | 
| 参数类型为 CertPath 的 java.security 中的构造方法 | |
|---|---|
| CodeSigner(CertPath signerCertPath,
Timestamp timestamp)构造 CodeSigner 对象。 | |
| Timestamp(Date timestamp,
CertPath signerCertPath)构造一个时间戳。 | |
| java.security.cert 中 CertPath 的使用 | 
|---|
| 返回 CertPath 的 java.security.cert 中的方法 | |
|---|---|
|  CertPath | CertificateFactorySpi.engineGenerateCertPath(InputStream inStream)生成一个 CertPath对象,并使用从InputStreaminStream 中读取的数据对它进行初始化。 | 
|  CertPath | CertificateFactorySpi.engineGenerateCertPath(InputStream inStream,
String encoding)生成一个 CertPath对象,并使用从InputStreaminStream 中读取的数据对它进行初始化。 | 
|  CertPath | CertificateFactorySpi.engineGenerateCertPath(List<? extends Certificate> certificates)生成一个 CertPath对象,并使用Certificate的List对它进行初始化。 | 
|  CertPath | CertificateFactory.generateCertPath(InputStream inStream)生成一个 CertPath对象,并使用从InputStreaminStream 中读取的数据对它进行初始化。 | 
|  CertPath | CertificateFactory.generateCertPath(InputStream inStream,
String encoding)生成一个 CertPath对象,并使用从InputStreaminStream 中读取的数据对它进行初始化。 | 
|  CertPath | CertificateFactory.generateCertPath(List<? extends Certificate> certificates)生成一个 CertPath对象,并使用一个Certificate的List对它进行初始化。 | 
|  CertPath | CertPathBuilderResult.getCertPath()返回已构建的证书路径。 | 
|  CertPath | CertPathValidatorException.getCertPath()返回抛出异常时正在验证的证书路径 | 
|  CertPath | PKIXCertPathBuilderResult.getCertPath()返回已构建并已验证的证书路径。 | 
| 参数类型为 CertPath 的 java.security.cert 中的方法 | |
|---|---|
| abstract  CertPathValidatorResult | CertPathValidatorSpi.engineValidate(CertPath certPath,
CertPathParameters params)使用指定的算法参数集验证指定的证书路径。 | 
|  CertPathValidatorResult | CertPathValidator.validate(CertPath certPath,
CertPathParameters params)使用指定的算法参数集验证指定的证书路径。 | 
| 参数类型为 CertPath 的 java.security.cert 中的构造方法 | |
|---|---|
| CertPathValidatorException(String msg,
Throwable cause,
CertPath certPath,
int index)创建带指定详细消息、cause、证书路径和索引的 CertPathValidatorException。 | |
| PKIXCertPathBuilderResult(CertPath certPath,
TrustAnchor trustAnchor,
PolicyNode policyTree,
PublicKey subjectPublicKey)创建包含指定参数的 PKIXCertPathBuilderResult实例。 | |
| 
 | JavaTM Platform Standard Ed. 6 | |||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策。