クラス
java.security.cert.TrustAnchorの使用
パッケージ | 説明 |
---|---|
java.security.cert |
証明書、証明書失効リスト(CRL)、証明書パスを解析および管理するためのクラスとインタフェースを提供します。
|
-
java.security.certでのTrustAnchorの使用
TrustAnchorを返すjava.security.certのメソッド 修飾子と型 メソッド 説明 TrustAnchor
PKIXCertPathValidatorResult. getTrustAnchor()
証明書パスのトラスト・アンカーとして機能するCAを記述するTrustAnchor
を返します。型TrustAnchorの引数を持つ型を返すjava.security.certのメソッド 修飾子と型 メソッド 説明 Set<TrustAnchor>
PKIXParameters. getTrustAnchors()
もっとも信頼できるCAの不変なSet
を返します。型TrustAnchorの型引数を持つjava.security.certのメソッド・パラメータ 修飾子と型 メソッド 説明 void
PKIXParameters. setTrustAnchors(Set<TrustAnchor> trustAnchors)
もっとも信頼できるCAのSet
を設定します。型TrustAnchorのパラメータを持つjava.security.certのコンストラクタ コンストラクタ 説明 PKIXCertPathBuilderResult(CertPath certPath, TrustAnchor trustAnchor, PolicyNode policyTree, PublicKey subjectPublicKey)
指定されたパラメータを含むPKIXCertPathBuilderResult
のインスタンスを作成します。PKIXCertPathValidatorResult(TrustAnchor trustAnchor, PolicyNode policyTree, PublicKey subjectPublicKey)
指定されたパラメータを含むPKIXCertPathValidatorResult
のインスタンスを作成します。TrustAnchor型の型引数を持つjava.security.certのコンストラクタ・パラメータ コンストラクタ 説明 PKIXBuilderParameters(Set<TrustAnchor> trustAnchors, CertSelector targetConstraints)
もっとも信頼できるCAからなる指定したSet
で、PKIXBuilderParameters
のインスタンスを作成します。PKIXParameters(Set<TrustAnchor> trustAnchors)
もっとも信頼できるCAからなる指定したSet
で、PKIXParameters
のインスタンスを作成します。