public class JCEIESCipher extends WrapCipherSpi
Modifier and Type | Class and Description |
---|---|
static class |
JCEIESCipher.BrokenECIES
classes that inherit from us.
|
static class |
JCEIESCipher.BrokenIES |
static class |
JCEIESCipher.ECIES |
static class |
JCEIESCipher.IES |
WrapCipherSpi.RC2Wrap
pbeHash, pbeIvSize, pbeKeySize, pbeType, wrapEngine
Constructor and Description |
---|
JCEIESCipher(IESEngine 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 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) |
engineUnwrap, engineWrap
engineDoFinal, engineUpdate, engineUpdateAAD, engineUpdateAAD
public JCEIESCipher(IESEngine engine)
protected int engineGetBlockSize()
engineGetBlockSize
in class WrapCipherSpi
protected byte[] engineGetIV()
engineGetIV
in class WrapCipherSpi
protected int engineGetKeySize(Key key)
engineGetKeySize
in class WrapCipherSpi
protected int engineGetOutputSize(int inputLen)
engineGetOutputSize
in class WrapCipherSpi
protected AlgorithmParameters engineGetParameters()
engineGetParameters
in class WrapCipherSpi
protected void engineSetMode(String mode)
engineSetMode
in class WrapCipherSpi
protected void engineSetPadding(String padding) throws NoSuchPaddingException
engineSetPadding
in class WrapCipherSpi
NoSuchPaddingException
protected void engineInit(int opmode, Key key, AlgorithmParameterSpec params, SecureRandom random) throws InvalidKeyException, InvalidAlgorithmParameterException
engineInit
in class WrapCipherSpi
InvalidKeyException
InvalidAlgorithmParameterException
protected void engineInit(int opmode, Key key, AlgorithmParameters params, SecureRandom random) throws InvalidKeyException, InvalidAlgorithmParameterException
engineInit
in class WrapCipherSpi
InvalidKeyException
InvalidAlgorithmParameterException
protected void engineInit(int opmode, Key key, SecureRandom random) throws InvalidKeyException
engineInit
in class WrapCipherSpi
InvalidKeyException
protected byte[] engineUpdate(byte[] input, int inputOffset, int inputLen)
engineUpdate
in class WrapCipherSpi
protected int engineUpdate(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset)
engineUpdate
in class WrapCipherSpi
protected byte[] engineDoFinal(byte[] input, int inputOffset, int inputLen) throws IllegalBlockSizeException, BadPaddingException
engineDoFinal
in class WrapCipherSpi
IllegalBlockSizeException
BadPaddingException
protected int engineDoFinal(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset) throws IllegalBlockSizeException, BadPaddingException
engineDoFinal
in class WrapCipherSpi
IllegalBlockSizeException
BadPaddingException
Copyright © 2015. All rights reserved.