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