org.bouncycastle.jce.provider

Class JCEStreamCipher

public class JCEStreamCipher extends WrapCipherSpi implements PBE

Nested Class Summary
static classJCEStreamCipher.Blowfish_CFB8
Blowfish
static classJCEStreamCipher.Blowfish_OFB8
Blowfish
static classJCEStreamCipher.DESede_CFB8
DESede
static classJCEStreamCipher.DESede_OFB8
DESede
static classJCEStreamCipher.DES_CFB8
DES
static classJCEStreamCipher.DES_OFB8
DES
static classJCEStreamCipher.HC128
HC-128
static classJCEStreamCipher.HC256
HC-256
static classJCEStreamCipher.IDEA_CFB8
IDEA
static classJCEStreamCipher.IDEA_OFB8
IDEA
static classJCEStreamCipher.PBEWithSHAAnd128BitRC4
PBEWithSHAAnd128BitRC4
static classJCEStreamCipher.PBEWithSHAAnd40BitRC4
PBEWithSHAAnd40BitRC4
static classJCEStreamCipher.RC4
RC4
static classJCEStreamCipher.Salsa20
Salsa20
static classJCEStreamCipher.Skipjack_CFB8
SKIPJACK
static classJCEStreamCipher.Skipjack_OFB8
SKIPJACK
static classJCEStreamCipher.Twofish_CFB8
Twofish
static classJCEStreamCipher.Twofish_OFB8
Twofish
Constructor Summary
protected JCEStreamCipher(StreamCipher engine, int ivLength)
protected JCEStreamCipher(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)
should never be called.
protected voidengineSetPadding(String padding)
should never be called.
protected byte[]engineUpdate(byte[] input, int inputOffset, int inputLen)
protected intengineUpdate(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset)

Constructor Detail

JCEStreamCipher

protected JCEStreamCipher(StreamCipher engine, int ivLength)

JCEStreamCipher

protected JCEStreamCipher(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)
should never be called.

engineSetPadding

protected void engineSetPadding(String padding)
should never be called.

engineUpdate

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

engineUpdate

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