org.bouncycastle.jce.provider

Class JCEElGamalCipher

public class JCEElGamalCipher extends WrapCipherSpi

Nested Class Summary
static classJCEElGamalCipher.NoPadding
classes that inherit from us.
static classJCEElGamalCipher.PKCS1v1_5Padding
Constructor Summary
JCEElGamalCipher(AsymmetricBlockCipher engine)
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

JCEElGamalCipher

public JCEElGamalCipher(AsymmetricBlockCipher engine)

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)