public class BaseStreamCipher extends BaseWrapCipher implements PBE
BaseWrapCipher.ErasableOutputStream, BaseWrapCipher.InvalidKeyOrParametersExceptionengineParams, pbeHash, pbeIvSize, pbeKeySize, pbeType, wrapEngine| Modifier | Constructor and Description |
|---|---|
protected |
BaseStreamCipher(StreamCipher engine,
int ivLength) |
protected |
BaseStreamCipher(StreamCipher engine,
int ivLength,
int keySizeInBits,
int digest) |
| 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)
should never be called.
|
protected void |
engineSetPadding(String padding)
should never be called.
|
protected byte[] |
engineUpdate(byte[] input,
int inputOffset,
int inputLen) |
protected int |
engineUpdate(byte[] input,
int inputOffset,
int inputLen,
byte[] output,
int outputOffset) |
createParametersInstance, engineUnwrap, engineWrapengineDoFinal, engineUpdate, engineUpdateAAD, engineUpdateAADprotected BaseStreamCipher(StreamCipher engine, int ivLength)
protected BaseStreamCipher(StreamCipher engine, int ivLength, int keySizeInBits, int digest)
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 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)
engineDoFinal in class BaseWrapCipherprotected int engineDoFinal(byte[] input,
int inputOffset,
int inputLen,
byte[] output,
int outputOffset)
throws ShortBufferException
engineDoFinal in class BaseWrapCipherShortBufferExceptionCopyright © 2015–2021 The veraPDF Consortium. All rights reserved.