JavaTM 2 Platform
Standard Ed. 6

類別 java.security.cert.CertPath
的使用

使用 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 物件,並使用從 InputStream inStream 中讀取的資料對它進行初始化。
 CertPath CertificateFactorySpi.engineGenerateCertPath(InputStream inStream, String encoding)
          產生一個 CertPath 物件,並使用從 InputStream inStream 中讀取的資料對它進行初始化。
 CertPath CertificateFactorySpi.engineGenerateCertPath(List<? extends Certificate> certificates)
          產生一個 CertPath 物件,並使用 Certificate 的 List 對它進行初始化。
 CertPath CertificateFactory.generateCertPath(InputStream inStream)
          產生一個 CertPath 物件,並使用從 InputStream inStream 中讀取的資料對它進行初始化。
 CertPath CertificateFactory.generateCertPath(InputStream inStream, String encoding)
          產生一個 CertPath 物件,並使用從 InputStream inStream 中讀取的資料對它進行初始化。
 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 2 Platform
Standard Ed. 6

提交錯誤或意見

版權所有 2008 Sun Microsystems, Inc. 保留所有權利。請遵守GNU General Public License, version 2 only。