public class BaseBlockCipher extends BaseWrapCipher implements PBE
BaseWrapCipher.ErasableOutputStream, BaseWrapCipher.InvalidKeyOrParametersExceptionengineParams, pbeHash, pbeIvSize, pbeKeySize, pbeType, wrapEngine| Modifier | Constructor and Description |
|---|---|
protected |
BaseBlockCipher(AEADBlockCipher engine) |
protected |
BaseBlockCipher(AEADBlockCipher engine,
boolean fixedIv,
int ivLength) |
protected |
BaseBlockCipher(BlockCipher engine) |
protected |
BaseBlockCipher(BlockCipher engine,
boolean fixedIv,
int ivLength) |
protected |
BaseBlockCipher(BlockCipher engine,
int ivLength) |
protected |
BaseBlockCipher(BlockCipher engine,
int scheme,
int digest,
int keySizeInBits,
int ivLength) |
protected |
BaseBlockCipher(BlockCipherProvider provider) |
protected |
BaseBlockCipher(BufferedBlockCipher engine,
boolean fixedIv,
int ivLength) |
protected |
BaseBlockCipher(BufferedBlockCipher engine,
int ivLength) |
| 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) |
protected void |
engineUpdateAAD(byte[] input,
int offset,
int length) |
protected void |
engineUpdateAAD(ByteBuffer src) |
createParametersInstance, engineUnwrap, engineWrapengineDoFinal, engineUpdateprotected BaseBlockCipher(BlockCipher engine)
protected BaseBlockCipher(BlockCipher engine, int scheme, int digest, int keySizeInBits, int ivLength)
protected BaseBlockCipher(BlockCipherProvider provider)
protected BaseBlockCipher(AEADBlockCipher engine)
protected BaseBlockCipher(AEADBlockCipher engine, boolean fixedIv, int ivLength)
protected BaseBlockCipher(BlockCipher engine, int ivLength)
protected BaseBlockCipher(BlockCipher engine, boolean fixedIv, int ivLength)
protected BaseBlockCipher(BufferedBlockCipher engine, int ivLength)
protected BaseBlockCipher(BufferedBlockCipher engine, boolean fixedIv, int ivLength)
protected int engineGetBlockSize()
engineGetBlockSize in class BaseWrapCipherprotected byte[] engineGetIV()
engineGetIV in class BaseWrapCipherprotected int engineGetKeySize(Key key)
engineGetKeySize in class BaseWrapCipherprotected int engineGetOutputSize(int inputLen)
engineGetOutputSize in class BaseWrapCipherprotected AlgorithmParameters engineGetParameters()
engineGetParameters in class BaseWrapCipherprotected void engineSetMode(String mode) throws NoSuchAlgorithmException
engineSetMode in class BaseWrapCipherNoSuchAlgorithmExceptionprotected void engineSetPadding(String padding) throws NoSuchPaddingException
engineSetPadding in class BaseWrapCipherNoSuchPaddingExceptionprotected void engineInit(int opmode,
Key key,
AlgorithmParameterSpec params,
SecureRandom random)
throws InvalidKeyException,
InvalidAlgorithmParameterException
engineInit in class BaseWrapCipherInvalidKeyExceptionInvalidAlgorithmParameterExceptionprotected void engineInit(int opmode,
Key key,
AlgorithmParameters params,
SecureRandom random)
throws InvalidKeyException,
InvalidAlgorithmParameterException
engineInit in class BaseWrapCipherInvalidKeyExceptionInvalidAlgorithmParameterExceptionprotected void engineInit(int opmode,
Key key,
SecureRandom random)
throws InvalidKeyException
engineInit in class BaseWrapCipherInvalidKeyExceptionprotected void engineUpdateAAD(byte[] input,
int offset,
int length)
engineUpdateAAD in class CipherSpiprotected void engineUpdateAAD(ByteBuffer src)
engineUpdateAAD in class CipherSpiprotected byte[] engineUpdate(byte[] input,
int inputOffset,
int inputLen)
engineUpdate in class BaseWrapCipherprotected int engineUpdate(byte[] input,
int inputOffset,
int inputLen,
byte[] output,
int outputOffset)
throws ShortBufferException
engineUpdate in class BaseWrapCipherShortBufferExceptionprotected byte[] engineDoFinal(byte[] input,
int inputOffset,
int inputLen)
throws IllegalBlockSizeException,
BadPaddingException
engineDoFinal in class BaseWrapCipherIllegalBlockSizeExceptionBadPaddingExceptionprotected int engineDoFinal(byte[] input,
int inputOffset,
int inputLen,
byte[] output,
int outputOffset)
throws IllegalBlockSizeException,
BadPaddingException,
ShortBufferException
engineDoFinal in class BaseWrapCipherIllegalBlockSizeExceptionBadPaddingExceptionShortBufferExceptionCopyright © 2015–2020 The veraPDF Consortium. All rights reserved.