public class CipherSpi extends CipherSpi
Modifier and Type | Class and Description |
---|---|
static class |
CipherSpi.IES |
Modifier and Type | Method and Description |
---|---|
protected byte[] |
engineDoFinal(byte[] input,
int inputOffset,
int inputLen) |
protected int |
engineDoFinal(byte[] input,
int inputOffset,
int inputLen,
byte[] output,
int outputOffset) |
protected int |
engineGetBlockSize() |
protected byte[] |
engineGetIV() |
protected int |
engineGetKeySize(Key key) |
protected int |
engineGetOutputSize(int inputLen) |
protected AlgorithmParameters |
engineGetParameters() |
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) |
protected void |
engineSetMode(String mode) |
protected void |
engineSetPadding(String padding) |
protected byte[] |
engineUpdate(byte[] input,
int inputOffset,
int inputLen) |
protected int |
engineUpdate(byte[] input,
int inputOffset,
int inputLen,
byte[] output,
int outputOffset) |
engineDoFinal, engineUnwrap, engineUpdate, engineUpdateAAD, engineUpdateAAD, engineWrap
public CipherSpi(IESEngine engine)
protected int engineGetBlockSize()
engineGetBlockSize
in class CipherSpi
protected byte[] engineGetIV()
engineGetIV
in class CipherSpi
protected int engineGetKeySize(Key key)
engineGetKeySize
in class CipherSpi
protected int engineGetOutputSize(int inputLen)
engineGetOutputSize
in class CipherSpi
protected AlgorithmParameters engineGetParameters()
engineGetParameters
in class CipherSpi
protected void engineSetMode(String mode)
engineSetMode
in class CipherSpi
protected void engineSetPadding(String padding) throws NoSuchPaddingException
engineSetPadding
in class CipherSpi
NoSuchPaddingException
protected void engineInit(int opmode, Key key, AlgorithmParameterSpec params, SecureRandom random) throws InvalidKeyException, InvalidAlgorithmParameterException
engineInit
in class CipherSpi
InvalidKeyException
InvalidAlgorithmParameterException
protected void engineInit(int opmode, Key key, AlgorithmParameters params, SecureRandom random) throws InvalidKeyException, InvalidAlgorithmParameterException
engineInit
in class CipherSpi
InvalidKeyException
InvalidAlgorithmParameterException
protected void engineInit(int opmode, Key key, SecureRandom random) throws InvalidKeyException
engineInit
in class CipherSpi
InvalidKeyException
protected byte[] engineUpdate(byte[] input, int inputOffset, int inputLen)
engineUpdate
in class CipherSpi
protected int engineUpdate(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset)
engineUpdate
in class CipherSpi
protected byte[] engineDoFinal(byte[] input, int inputOffset, int inputLen) throws IllegalBlockSizeException, BadPaddingException
engineDoFinal
in class CipherSpi
IllegalBlockSizeException
BadPaddingException
protected int engineDoFinal(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset) throws IllegalBlockSizeException, BadPaddingException
engineDoFinal
in class CipherSpi
IllegalBlockSizeException
BadPaddingException
Copyright © 2016 BouncyCastle.org. All rights reserved.