クラスKeyStore.SecretKeyEntry

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
  • ネストされたクラスのサマリー

    インタフェースで宣言されたネストされたクラス/インタフェース KeyStore.Entry

    KeyStore.Entry.Attribute
    修飾子と型
    インタフェース
    説明
    static interface 
    キーストア・エントリに関連付けられた属性。
  • コンストラクタのサマリー

    コンストラクタ
    コンストラクタ
    説明
    特定のSecretKeyを使ってSecretKeyEntryを構築します。
    SecretKeyと関連するエントリ属性を使用してSecretKeyEntryを構築します。
  • メソッドのサマリー

    修飾子と型
    メソッド
    説明
    エントリに関連付けられている属性を取得します。
    このエントリ内のSecretKeyを取得します。
    このSecretKeyEntryの文字列表現を返します。

    クラスオブジェクトで宣言されたメソッド

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    修飾子と型
    メソッド
    説明
    protected Object
    このオブジェクトのコピーを作成して、返します。
    boolean
    このオブジェクトと他のオブジェクトが等しいかどうかを示します。
    protected void
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    最終決定は非推奨であり、将来のリリースで削除される可能性があります。
    final Class<?>
    このObjectの実行時クラスを返します。
    int
    このオブジェクトに対するハッシュ・コード値を返します。
    final void
    このオブジェクトのモニターで待機中のスレッドを1つ再開します。
    final void
    このオブジェクトのモニターで待機中のすべてのスレッドを再開します。
    final void
    現在のスレッドが目覚めるまで待機します。通常、notifiedまたはinterruptedです。
    final void
    wait(long timeoutMillis)
    現在のスレッドは、通常、notifiedまたはinterruptedであるか、一定のリアルタイムが経過するまで、目覚めるまで待機します。
    final void
    wait(long timeoutMillis, int nanos)
    現在のスレッドは、通常、notifiedまたはinterruptedであるか、一定のリアルタイムが経過するまで、目覚めるまで待機します。
  • コンストラクタの詳細

    • SecretKeyEntry

      public SecretKeyEntry(SecretKey secretKey)
      特定のSecretKeyを使ってSecretKeyEntryを構築します。
      パラメータ:
      secretKey - SecretKey
      スロー:
      NullPointerException - secretKeynullである場合
    • SecretKeyEntry

      public SecretKeyEntry(SecretKey secretKey, Set<KeyStore.Entry.Attribute> attributes)
      SecretKeyと関連するエントリ属性を使用してSecretKeyEntryを構築します。

      指定されたattributesは、クローニングされてから新しいSecretKeyEntryオブジェクトに格納されます。

      パラメータ:
      secretKey - SecretKey
      attributes - 属性
      スロー:
      NullPointerException - secretKeyまたはattributesnullの場合
      導入されたバージョン:
      1.8
  • メソッドの詳細

    • getSecretKey

      public SecretKey getSecretKey()
      このエントリ内のSecretKeyを取得します。
      戻り値:
      このエントリ内のSecretKey
    • getAttributes

      public Set<KeyStore.Entry.Attribute> getAttributes()
      エントリに関連付けられている属性を取得します。
      定義:
      getAttributes、インタフェースKeyStore.Entry
      戻り値:
      属性の変更不可能なSet(空の場合もある)
      導入されたバージョン:
      1.8
    • toString

      public String toString()
      このSecretKeyEntryの文字列表現を返します。
      オーバーライド:
      toString、クラスObject
      戻り値:
      このSecretKeyEntryの文字列表現。