java.lang.Object
java.security.KeyStore.TrustedCertificateEntry
- すべての実装されたインタフェース:
KeyStore.Entry
- 含まれているクラス:
- KeyStore
public static final class KeyStore.TrustedCertificateEntry extends Object implements KeyStore.Entry
信頼できる
Certificate
が格納されたKeyStore
エントリです。- 導入されたバージョン:
- 1.5
-
ネストされたクラスのサマリー
インタフェース java.security.KeyStore.Entryで宣言されたネストされたクラス/インタフェース
KeyStore.Entry.Attribute
-
コンストラクタのサマリー
コンストラクタ説明TrustedCertificateEntry(Certificate trustedCert)
信頼できるCertificate
を使ってTrustedCertificateEntry
を構築します。TrustedCertificateEntry(Certificate trustedCert, Set<KeyStore.Entry.Attribute> attributes)
信頼できるCertificate
および関連するエントリ属性を使って、TrustedCertificateEntry
を構築します。 -
メソッドのサマリー
修飾子と型メソッド説明エントリに関連付けられている属性を取得します。このエントリ内の信頼できるCertficate
を取得します。toString()
このTrustedCertificateEntryの文字列表現を返します。
-
コンストラクタの詳細
-
TrustedCertificateEntry
public TrustedCertificateEntry(Certificate trustedCert)信頼できるCertificate
を使ってTrustedCertificateEntry
を構築します。- パラメータ:
trustedCert
- 信頼できるCertificate
- 例外:
NullPointerException
-trustedCert
がnull
である場合
-
TrustedCertificateEntry
public TrustedCertificateEntry(Certificate trustedCert, Set<KeyStore.Entry.Attribute> attributes)信頼できるCertificate
および関連するエントリ属性を使って、TrustedCertificateEntry
を構築します。指定された
attributes
は、クローニングされてから新しいTrustedCertificateEntry
オブジェクトに格納されます。- パラメータ:
trustedCert
- 信頼できるCertificate
attributes
- 属性- 例外:
NullPointerException
-trustedCert
またはattributes
がnull
の場合- 導入されたバージョン:
- 1.8
-
-
メソッドの詳細
-
getTrustedCertificate
public Certificate getTrustedCertificate()このエントリ内の信頼できるCertficate
を取得します。- 戻り値:
- このエントリ内の信頼できる
Certificate
-
getAttributes
public Set<KeyStore.Entry.Attribute> getAttributes()エントリに関連付けられている属性を取得します。- 定義:
getAttributes
、インタフェース:KeyStore.Entry
- 戻り値:
- 属性の変更不可能な
Set
(空の場合もある) - 導入されたバージョン:
- 1.8
-
toString
public String toString()このTrustedCertificateEntryの文字列表現を返します。
-