Logo Search packages:      
Sourcecode: libgnucrypto-java version File versions  Download package

gnu::crypto::jce::cipher::PBES2 Class Reference

Inheritance diagram for gnu::crypto::jce::cipher::PBES2:

gnu::crypto::jce::cipher::CipherAdapter javax::crypto::CipherSpi

List of all members.


Detailed Description

.

Version:
Revision
1.2

Definition at line 68 of file PBES2.java.


Protected Member Functions

int engineDoFinal (byte[] in, int inOff, int inLen, byte[] out, int outOff) throws BadPaddingException, IllegalBlockSizeException, ShortBufferException
byte[] engineDoFinal (byte[] input, int off, int len) throws IllegalBlockSizeException, BadPaddingException
int engineGetBlockSize ()
byte[] engineGetIV ()
int engineGetKeySize (Key key) throws InvalidKeyException
int engineGetOutputSize (int inputLen)
AlgorithmParameters engineGetParameters ()
void engineInit (int opmode, Key key, AlgorithmParameters params, SecureRandom random) throws InvalidKeyException, InvalidAlgorithmParameterException
void engineInit (int opmode, Key key, AlgorithmParameterSpec params, SecureRandom random) throws InvalidKeyException, InvalidAlgorithmParameterException
void engineInit (int opmode, Key key, SecureRandom random) throws InvalidKeyException
void engineSetMode (String modeName) throws NoSuchAlgorithmException
void engineSetPadding (String padName) throws NoSuchPaddingException
java.security.Key engineUnwrap (byte[] wrappedKey, String wrappedKeyAlgorithm, int wrappedKeyType) throws InvalidKeyException, NoSuchAlgorithmException
int engineUpdate (byte[] in, int inOff, int inLen, byte[] out, int outOff) throws ShortBufferException
byte[] engineUpdate (byte[] input, int off, int len)
byte[] engineWrap (Key key) throws IllegalBlockSizeException, InvalidKeyException
 PBES2 (String cipherName, String macName)
 PBES2 (String cipherName, int blockLen, String macName)

Protected Attributes

Map attributes
int blockLen
IBlockCipher cipher
int keyLen
String macName
IMode mode
IPad pad
byte[] partBlock
int partLen

Private Member Functions

SecretKeySpec genkey (PBEKey key) throws InvalidKeyException

Classes

class  HMacHaval
class  HMacMD2
class  HMacMD4
class  HMacMD5
class  HMacRipeMD128
class  HMacRipeMD160
class  HMacSHA1
class  HMacSHA256
class  HMacSHA384
class  HMacSHA512
class  HMacTiger
class  HMacWhirlpool

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index