gnu.crypto.jce.cipher
Class PBES2
java.lang.Object
javax.crypto.CipherSpi
gnu.crypto.jce.cipher.CipherAdapter
gnu.crypto.jce.cipher.PBES2
- Direct Known Subclasses:
- PBES2.HMacHaval, PBES2.HMacMD2, PBES2.HMacMD4, PBES2.HMacMD5, PBES2.HMacRipeMD128, PBES2.HMacRipeMD160, PBES2.HMacSHA1, PBES2.HMacSHA256, PBES2.HMacSHA384, PBES2.HMacSHA512, PBES2.HMacTiger, PBES2.HMacWhirlpool
public abstract class PBES2
- extends CipherAdapter
.
- Version:
- $Revision: 1.3 $
Field Summary |
protected String |
macName
The HMac (PRF) algorithm name. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
macName
protected String macName
- The HMac (PRF) algorithm name.
PBES2
protected PBES2(String cipherName,
int blockLen,
String macName)
PBES2
protected PBES2(String cipherName,
String macName)
engineInit
protected void engineInit(int opmode,
Key key,
SecureRandom random)
throws InvalidKeyException
- Overrides:
engineInit
in class CipherAdapter
- Throws:
InvalidKeyException
engineInit
protected void engineInit(int opmode,
Key key,
AlgorithmParameterSpec params,
SecureRandom random)
throws InvalidKeyException,
InvalidAlgorithmParameterException
- Overrides:
engineInit
in class CipherAdapter
- Throws:
InvalidKeyException
InvalidAlgorithmParameterException
engineInit
protected void engineInit(int opmode,
Key key,
AlgorithmParameters params,
SecureRandom random)
throws InvalidKeyException,
InvalidAlgorithmParameterException
- Overrides:
engineInit
in class CipherAdapter
- Throws:
InvalidKeyException
InvalidAlgorithmParameterException
Copyright © 2001, 2002, 2003
Free Software Foundation,
Inc. All Rights Reserved.