org.seasar.util.crypto.impl
クラス CipherContextImpl
java.lang.Object
org.seasar.util.crypto.impl.CipherContextImpl
- すべての実装されたインタフェース:
- CipherContext
public class CipherContextImpl
- extends Object
- implements CipherContext
CipherContextの標準実装です。
- 作成者:
- shinsuke
| クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CipherContextImpl
public CipherContextImpl(String algorithm,
String key)
- コンストラクタ
- パラメータ:
algorithm - アルゴリズムkey - キー
getCipher
public Cipher getCipher(int opmode)
- インタフェース
CipherContext の記述:
Cipherのインスタンスを取得します。
- 定義:
- インタフェース
CipherContext 内の getCipher
- パラメータ:
opmode - 暗号の操作モード (Cipher.ENCRYPT_MODE、
Cipher.DECRYPT_MODE、Cipher.WRAP_MODE、または
Cipher.UNWRAP_MODE のどれか)
- 戻り値:
Cipherのインスタンス
getId
public String getId()
- インタフェース
CipherContext の記述:
- CipherContextの識別子を返します。 この値が
CipherPoolUtilのプールのキーになります。
- 定義:
- インタフェース
CipherContext 内の getId
- 戻り値:
- CipherContextの識別子
Copyright © 2010-2012 The Seasar Foundation. All Rights Reserved.