public class IESCipher extends CipherSpi
| Modifier and Type | Class and Description |
|---|---|
static class |
IESCipher.IES
Classes that inherit from us
|
static class |
IESCipher.IESwithAESCBC |
static class |
IESCipher.IESwithDESedeCBC |
| Constructor and Description |
|---|
IESCipher(IESEngine engine) |
IESCipher(IESEngine engine,
int ivLength) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
engineDoFinal(byte[] input,
int inputOffset,
int inputLen) |
int |
engineDoFinal(byte[] input,
int inputOffset,
int inputLength,
byte[] output,
int outputOffset) |
int |
engineGetBlockSize() |
byte[] |
engineGetIV() |
int |
engineGetKeySize(Key key) |
int |
engineGetOutputSize(int inputLen) |
AlgorithmParameters |
engineGetParameters() |
void |
engineInit(int opmode,
Key key,
AlgorithmParameterSpec engineSpec,
SecureRandom random) |
void |
engineInit(int opmode,
Key key,
AlgorithmParameters params,
SecureRandom random) |
void |
engineInit(int opmode,
Key key,
SecureRandom random) |
void |
engineSetMode(String mode) |
void |
engineSetPadding(String padding) |
byte[] |
engineUpdate(byte[] input,
int inputOffset,
int inputLen) |
int |
engineUpdate(byte[] input,
int inputOffset,
int inputLen,
byte[] output,
int outputOffset) |
engineDoFinal, engineUnwrap, engineUpdate, engineUpdateAAD, engineUpdateAAD, engineWrappublic IESCipher(IESEngine engine)
public IESCipher(IESEngine engine, int ivLength)
public int engineGetBlockSize()
engineGetBlockSize in class CipherSpipublic int engineGetKeySize(Key key)
engineGetKeySize in class CipherSpipublic byte[] engineGetIV()
engineGetIV in class CipherSpipublic AlgorithmParameters engineGetParameters()
engineGetParameters in class CipherSpipublic void engineSetMode(String mode) throws NoSuchAlgorithmException
engineSetMode in class CipherSpiNoSuchAlgorithmExceptionpublic int engineGetOutputSize(int inputLen)
engineGetOutputSize in class CipherSpipublic void engineSetPadding(String padding) throws NoSuchPaddingException
engineSetPadding in class CipherSpiNoSuchPaddingExceptionpublic void engineInit(int opmode,
Key key,
AlgorithmParameters params,
SecureRandom random)
throws InvalidKeyException,
InvalidAlgorithmParameterException
engineInit in class CipherSpiInvalidKeyExceptionInvalidAlgorithmParameterExceptionpublic void engineInit(int opmode,
Key key,
AlgorithmParameterSpec engineSpec,
SecureRandom random)
throws InvalidAlgorithmParameterException,
InvalidKeyException
engineInit in class CipherSpiInvalidAlgorithmParameterExceptionInvalidKeyExceptionpublic void engineInit(int opmode,
Key key,
SecureRandom random)
throws InvalidKeyException
engineInit in class CipherSpiInvalidKeyExceptionpublic byte[] engineUpdate(byte[] input,
int inputOffset,
int inputLen)
engineUpdate in class CipherSpipublic int engineUpdate(byte[] input,
int inputOffset,
int inputLen,
byte[] output,
int outputOffset)
engineUpdate in class CipherSpipublic byte[] engineDoFinal(byte[] input,
int inputOffset,
int inputLen)
throws IllegalBlockSizeException,
BadPaddingException
engineDoFinal in class CipherSpiIllegalBlockSizeExceptionBadPaddingExceptionpublic int engineDoFinal(byte[] input,
int inputOffset,
int inputLength,
byte[] output,
int outputOffset)
throws ShortBufferException,
IllegalBlockSizeException,
BadPaddingException
engineDoFinal in class CipherSpiShortBufferExceptionIllegalBlockSizeExceptionBadPaddingExceptionCopyright © 2015–2020 The veraPDF Consortium. All rights reserved.