クラス
java.security.cert.CertPathの使用
CertPathを使用するパッケージ
パッケージ
説明
セキュリティ・フレームワークのクラスとインタフェースを提供します。
証明書、証明書失効リスト(CRL)、証明書パスを解析および管理するためのクラスとインタフェースを提供します。
このパッケージは、jarファイルに署名するためのAPIを定義します。
-
java.securityでのCertPathの使用
CertPathを返すjava.securityのメソッド修飾子と型メソッド説明CodeSigner.getSignerCertPath()署名者の証明書パスを返します。Timestamp.getSignerCertPath()タイムスタンプ発行局の証明書パスを返します。型CertPathのパラメータを持つjava.securityのコンストラクタ -
java.security.certでのCertPathの使用
CertPathを返すjava.security.certのメソッド修飾子と型メソッド説明CertificateFactorySpi.engineGenerateCertPath(InputStream inStream) CertPathオブジェクトを生成し、InputStreamであるinStreamから読み込まれたデータで初期化します。CertificateFactorySpi.engineGenerateCertPath(InputStream inStream, String encoding) CertPathオブジェクトを生成し、InputStreamであるinStreamから読み込まれたデータで初期化します。CertificateFactorySpi.engineGenerateCertPath(List<? extends Certificate> certificates) CertPathオブジェクトを生成し、CertificateのListで初期化します。final CertPathCertificateFactory.generateCertPath(InputStream inStream) CertPathオブジェクトを生成し、InputStreamであるinStreamから読み込まれたデータで初期化します。final CertPathCertificateFactory.generateCertPath(InputStream inStream, String encoding) CertPathオブジェクトを生成し、InputStreamであるinStreamから読み込まれたデータで初期化します。final CertPathCertificateFactory.generateCertPath(List<? extends Certificate> certificates) CertPathオブジェクトを生成し、CertificateのListで初期化します。CertPathBuilderResult.getCertPath()構築した証明書パスを返します。CertPathValidatorException.getCertPath()例外がスローされたときに検査中だった証明書パスを返します。PKIXCertPathBuilderResult.getCertPath()構築および検査済みの証明書パスを返します。型CertPathのパラメータを持つjava.security.certのメソッド修飾子と型メソッド説明abstract CertPathValidatorResultCertPathValidatorSpi.engineValidate(CertPath certPath, CertPathParameters params) 指定したアルゴリズムのパラメータ・セットを使用して、指定した証明書パスを検査します。final CertPathValidatorResultCertPathValidator.validate(CertPath certPath, CertPathParameters params) 指定したアルゴリズムのパラメータ・セットを使用して、指定した証明書パスを検査します。型CertPathのパラメータを持つjava.security.certのコンストラクタ修飾子コンストラクタ説明CertPathValidatorException(String msg, Throwable cause, CertPath certPath, int index) 指定した詳細メッセージ、原因、証明書パス、およびインデックスを持つCertPathValidatorExceptionを作成します。CertPathValidatorException(String msg, Throwable cause, CertPath certPath, int index, CertPathValidatorException.Reason reason) 指定した詳細メッセージ、原因、証明書パス、インデックス、および理由を持つCertPathValidatorExceptionを作成します。PKIXCertPathBuilderResult(CertPath certPath, TrustAnchor trustAnchor, PolicyNode policyTree, PublicKey subjectPublicKey) 指定されたパラメータを含むPKIXCertPathBuilderResultのインスタンスを作成します。 -
jdk.security.jarsignerでのCertPathの使用
型CertPathのパラメータを持つjdk.security.jarsignerのコンストラクタ修飾子コンストラクタ説明Builder(PrivateKey privateKey, CertPath certPath) 秘密キーと証明書パスを使用してJarSigner.Builderオブジェクトを作成します。