org.bouncycastle.jce.provider

Class JCEBlockCipher

public class JCEBlockCipher extends WrapCipherSpi implements PBE

Nested Class Summary
static classJCEBlockCipher.AES
AES
static classJCEBlockCipher.AESCBC
AESCBC
static classJCEBlockCipher.AESCFB
AESCFB
static classJCEBlockCipher.AESOFB
AESOFB
static classJCEBlockCipher.Blowfish
Blowfish
static classJCEBlockCipher.CAST5
CAST5
static classJCEBlockCipher.CAST5CBC
CAST5 CBC
static classJCEBlockCipher.CAST6
CAST6
static classJCEBlockCipher.DES
DES
static classJCEBlockCipher.DESCBC
DESCBC
static classJCEBlockCipher.DESede
DESede
static classJCEBlockCipher.DESedeCBC
DESedeCBC
static classJCEBlockCipher.GOST28147
GOST28147
static classJCEBlockCipher.GOST28147cbc
static classJCEBlockCipher.IDEA
IDEA
static classJCEBlockCipher.IDEACBC
IDEA CBC
static classJCEBlockCipher.PBEWithAESCBC
PBEWithAES-CBC
static classJCEBlockCipher.PBEWithMD5AndDES
PBEWithMD5AndDES
static classJCEBlockCipher.PBEWithMD5AndRC2
PBEWithMD5AndRC2
static classJCEBlockCipher.PBEWithSHA1AndDES
PBEWithSHA1AndDES
static classJCEBlockCipher.PBEWithSHA1AndRC2
PBEWithSHA1AndRC2
static classJCEBlockCipher.PBEWithSHAAnd128BitRC2
PBEWithSHAAnd128BitRC2-CBC
static classJCEBlockCipher.PBEWithSHAAnd40BitRC2
PBEWithSHAAnd40BitRC2-CBC
static classJCEBlockCipher.PBEWithSHAAndDES2Key
PBEWithSHAAnd2-KeyTripleDES-CBC
static classJCEBlockCipher.PBEWithSHAAndDES3Key
PBEWithSHAAnd3-KeyTripleDES-CBC
static classJCEBlockCipher.PBEWithSHAAndIDEA
PBEWithSHAAndIDEA-CBC
static classJCEBlockCipher.PBEWithSHAAndTwofish
PBEWithSHAAndTwofish-CBC
static classJCEBlockCipher.RC2
RC2
static classJCEBlockCipher.RC2CBC
RC2CBC
static classJCEBlockCipher.RC5
RC5
static classJCEBlockCipher.RC564
RC564
static classJCEBlockCipher.RC6
RC6
static classJCEBlockCipher.Rijndael
Rijndael
static classJCEBlockCipher.Serpent
Serpent
static classJCEBlockCipher.SEED
SEED
static classJCEBlockCipher.Skipjack
SKIPJACK
static classJCEBlockCipher.TEA
TEA
static classJCEBlockCipher.Twofish
Twofish
static classJCEBlockCipher.XTEA
XTEA
Constructor Summary
protected JCEBlockCipher(BlockCipher engine)
protected JCEBlockCipher(BlockCipher engine, int ivLength)
Method Summary
protected byte[]engineDoFinal(byte[] input, int inputOffset, int inputLen)
protected intengineDoFinal(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset)
protected intengineGetBlockSize()
protected byte[]engineGetIV()
protected intengineGetKeySize(Key key)
protected intengineGetOutputSize(int inputLen)
protected AlgorithmParametersengineGetParameters()
protected voidengineInit(int opmode, Key key, AlgorithmParameterSpec params, SecureRandom random)
protected voidengineInit(int opmode, Key key, AlgorithmParameters params, SecureRandom random)
protected voidengineInit(int opmode, Key key, SecureRandom random)
protected voidengineSetMode(String mode)
protected voidengineSetPadding(String padding)
protected byte[]engineUpdate(byte[] input, int inputOffset, int inputLen)
protected intengineUpdate(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset)

Constructor Detail

JCEBlockCipher

protected JCEBlockCipher(BlockCipher engine)

JCEBlockCipher

protected JCEBlockCipher(BlockCipher engine, int ivLength)

Method Detail

engineDoFinal

protected byte[] engineDoFinal(byte[] input, int inputOffset, int inputLen)

engineDoFinal

protected int engineDoFinal(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset)

engineGetBlockSize

protected int engineGetBlockSize()

engineGetIV

protected byte[] engineGetIV()

engineGetKeySize

protected int engineGetKeySize(Key key)

engineGetOutputSize

protected int engineGetOutputSize(int inputLen)

engineGetParameters

protected AlgorithmParameters engineGetParameters()

engineInit

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

engineInit

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

engineInit

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

engineSetMode

protected void engineSetMode(String mode)

engineSetPadding

protected void engineSetPadding(String padding)

engineUpdate

protected byte[] engineUpdate(byte[] input, int inputOffset, int inputLen)

engineUpdate

protected int engineUpdate(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset)