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