gnu.crypto.jce.cipher

Class PBES2

Known Direct 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 $

Nested Class Summary

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

Field Summary

protected String
macName
The HMac (PRF) algorithm name.

Fields inherited from class gnu.crypto.jce.cipher.CipherAdapter

attributes, blockLen, cipher, keyLen, mode, pad, partBlock, partLen

Constructor Summary

PBES2(String cipherName, String macName)
PBES2(String cipherName, int blockLen, String macName)

Method Summary

protected void
engineInit(int opmode, Key key, AlgorithmParameterSpec params, SecureRandom random)
protected void
engineInit(int opmode, Key key, AlgorithmParameters params, SecureRandom random)
protected void
engineInit(int opmode, Key key, SecureRandom random)

Methods inherited from class gnu.crypto.jce.cipher.CipherAdapter

engineDoFinal, engineDoFinal, engineGetBlockSize, engineGetIV, engineGetOutputSize, engineGetParameters, engineInit, engineInit, engineInit, engineSetMode, engineSetPadding, engineUpdate, engineUpdate

Field Details

macName

protected String macName
The HMac (PRF) algorithm name.

Constructor Details

PBES2

protected PBES2(String cipherName,
                String macName)

PBES2

protected PBES2(String cipherName,
                int blockLen,
                String macName)

Method Details

engineInit

protected void engineInit(int opmode,
                          Key key,
                          AlgorithmParameterSpec params,
                          SecureRandom random)
            throws InvalidKeyException,
                   InvalidAlgorithmParameterException
Overrides:
engineInit in interface CipherAdapter

engineInit

protected void engineInit(int opmode,
                          Key key,
                          AlgorithmParameters params,
                          SecureRandom random)
            throws InvalidKeyException,
                   InvalidAlgorithmParameterException
Overrides:
engineInit in interface CipherAdapter

engineInit

protected void engineInit(int opmode,
                          Key key,
                          SecureRandom random)
            throws InvalidKeyException
Overrides:
engineInit in interface CipherAdapter

Copyright © 2001, 2002, 2003 Free Software Foundation, Inc. All Rights Reserved.