JavaTM Platform
Standard Ed. 6

java.security
クラス 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.SecretKeyEntry(SecretKey secretKey)
          特定の SecretKey を使って SecretKeyEntry を構築します。
 
メソッドの概要
 SecretKey getSecretKey()
          このエントリ内の SecretKey を取得します。
 String toString()
          この SecretKeyEntry の文字列表現を返します。
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

コンストラクタの詳細

KeyStore.SecretKeyEntry

public KeyStore.SecretKeyEntry(SecretKey secretKey)
特定の SecretKey を使って SecretKeyEntry を構築します。

パラメータ:
secretKey - SecretKey
例外:
NullPointerException - secretKeynull の場合
メソッドの詳細

getSecretKey

public SecretKey getSecretKey()
このエントリ内の SecretKey を取得します。

戻り値:
このエントリ内の SecretKey

toString

public String toString()
この SecretKeyEntry の文字列表現を返します。

オーバーライド:
クラス Object 内の toString
戻り値:
この SecretKeyEntry の文字列表現

JavaTM Platform
Standard Ed. 6

バグの報告と機能のリクエスト
さらに詳しい API リファレンスおよび開発者ドキュメントについては、Java SE 開発者用ドキュメントを参照してください。開発者向けの詳細な解説、概念の概要、用語の定義、バグの回避策、およびコード実例が含まれています。

Copyright 2009 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。