public class CipherSpi extends BaseCipherSpi
| Modifier and Type | Class and Description |
|---|---|
static class |
CipherSpi.NoPadding
classes that inherit from us.
|
static class |
CipherSpi.PKCS1v1_5Padding |
BaseCipherSpi.ErasableOutputStreamwrapEngine| Constructor and Description |
|---|
CipherSpi(AsymmetricBlockCipher engine) |
| 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 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) |
createParametersInstance, engineGetIV, engineUnwrap, engineWrapengineDoFinal, engineUpdate, engineUpdateAAD, engineUpdateAADpublic CipherSpi(AsymmetricBlockCipher engine)
protected int engineGetBlockSize()
engineGetBlockSize in class BaseCipherSpiprotected int engineGetKeySize(Key key)
engineGetKeySize in class BaseCipherSpiprotected int engineGetOutputSize(int inputLen)
engineGetOutputSize in class BaseCipherSpiprotected AlgorithmParameters engineGetParameters()
engineGetParameters in class BaseCipherSpiprotected void engineSetMode(String mode) throws NoSuchAlgorithmException
engineSetMode in class BaseCipherSpiNoSuchAlgorithmExceptionprotected void engineSetPadding(String padding) throws NoSuchPaddingException
engineSetPadding in class BaseCipherSpiNoSuchPaddingExceptionprotected void engineInit(int opmode,
Key key,
AlgorithmParameterSpec params,
SecureRandom random)
throws InvalidKeyException,
InvalidAlgorithmParameterException
engineInit in class CipherSpiInvalidKeyExceptionInvalidAlgorithmParameterExceptionprotected void engineInit(int opmode,
Key key,
AlgorithmParameters params,
SecureRandom random)
throws InvalidKeyException,
InvalidAlgorithmParameterException
engineInit in class CipherSpiInvalidKeyExceptionInvalidAlgorithmParameterExceptionprotected void engineInit(int opmode,
Key key,
SecureRandom random)
throws InvalidKeyException
engineInit in class CipherSpiInvalidKeyExceptionprotected byte[] engineUpdate(byte[] input,
int inputOffset,
int inputLen)
engineUpdate in class CipherSpiprotected int engineUpdate(byte[] input,
int inputOffset,
int inputLen,
byte[] output,
int outputOffset)
engineUpdate in class CipherSpiprotected byte[] engineDoFinal(byte[] input,
int inputOffset,
int inputLen)
throws IllegalBlockSizeException,
BadPaddingException
engineDoFinal in class CipherSpiIllegalBlockSizeExceptionBadPaddingExceptionprotected int engineDoFinal(byte[] input,
int inputOffset,
int inputLen,
byte[] output,
int outputOffset)
throws IllegalBlockSizeException,
BadPaddingException,
ShortBufferException
engineDoFinal in class CipherSpiIllegalBlockSizeExceptionBadPaddingExceptionShortBufferExceptionCopyright © 2015–2019 The veraPDF Consortium. All rights reserved.