クラス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
-
ネストされたクラスのサマリー
インタフェースで宣言されたネストされたクラス/インタフェース KeyStore.Entry
KeyStore.Entry.Attribute -
コンストラクタのサマリー
コンストラクタコンストラクタ説明TrustedCertificateEntry(Certificate trustedCert) 信頼できるCertificateを使ってTrustedCertificateEntryを構築します。TrustedCertificateEntry(Certificate trustedCert, Set<KeyStore.Entry.Attribute> attributes) 信頼できるCertificateおよび関連するエントリ属性を使って、TrustedCertificateEntryを構築します。 -
メソッドのサマリー
修飾子と型メソッド説明エントリに関連付けられている属性を取得します。このエントリから信頼できるCertificateを取得します。toString()このTrustedCertificateEntryの文字列表現を返します。クラスオブジェクトで宣言されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait修飾子と型メソッド説明protected Objectclone()このオブジェクトのコピーを作成して、返します。booleanこのオブジェクトと他のオブジェクトが等しいかどうかを示します。protected voidfinalize()削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。最終決定は非推奨であり、将来のリリースで削除される可能性があります。final Class<?> getClass()このObjectの実行時クラスを返します。inthashCode()このオブジェクトに対するハッシュ・コード値を返します。final voidnotify()このオブジェクトのモニターで待機中のスレッドを1つ再開します。final voidこのオブジェクトのモニターで待機中のすべてのスレッドを再開します。final voidwait()現在のスレッドが目覚めるまで待機します。通常、notifiedまたはinterruptedです。final voidwait(long timeoutMillis) 現在のスレッドは、通常、notifiedまたはinterruptedであるか、一定のリアルタイムが経過するまで、目覚めるまで待機します。final voidwait(long timeoutMillis, int nanos) 現在のスレッドは、通常、notifiedまたはinterruptedであるか、一定のリアルタイムが経過するまで、目覚めるまで待機します。
-
コンストラクタの詳細
-
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- 信頼できるCertificateattributes- 属性- スロー:
NullPointerException-trustedCertまたはattributesがnullの場合- 導入されたバージョン:
- 1.8
-
-
メソッドの詳細
-
getTrustedCertificate
public Certificate getTrustedCertificate()このエントリから信頼できるCertificateを取得します。- 戻り値:
- このエントリ内の信頼できる
Certificate
-
getAttributes
public Set<KeyStore.Entry.Attribute> getAttributes()エントリに関連付けられている属性を取得します。- 定義:
getAttributes、インタフェースKeyStore.Entry- 戻り値:
- 属性の変更不可能な
Set(空の場合もある) - 導入されたバージョン:
- 1.8
-
toString
-