public class ChaosCipherImpl extends CipherSpi
| Constructor and Description |
|---|
ChaosCipherImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected byte[] |
engineDoFinal(byte[] aInput,
int aInputOffset,
int aInputLength) |
protected int |
engineDoFinal(byte[] aInput,
int aInputOffset,
int aInputLength,
byte[] output,
int outputOffset) |
protected int |
engineGetBlockSize() |
protected byte[] |
engineGetIV() |
protected int |
engineGetKeySize(Key key) |
protected int |
engineGetOutputSize(int aInputLength) |
protected AlgorithmParameters |
engineGetParameters() |
protected void |
engineInit(int opmode,
Key key,
AlgorithmParameterSpec aParams,
SecureRandom aRandom) |
protected void |
engineInit(int opmode,
Key key,
AlgorithmParameters aParams,
SecureRandom aRandom) |
protected void |
engineInit(int aMode,
Key aKey,
SecureRandom aRandom) |
protected void |
engineSetMode(String aMode) |
protected void |
engineSetPadding(String aPading) |
protected byte[] |
engineUpdate(byte[] aInput,
int aInputOffset,
int aInputLength) |
protected int |
engineUpdate(byte[] aInput,
int aInputOffset,
int aInputLength,
byte[] aOutput,
int aOutputOffset) |
engineDoFinal, engineUnwrap, engineUpdate, engineUpdateAAD, engineUpdateAAD, engineWrapprotected byte[] engineDoFinal(byte[] aInput,
int aInputOffset,
int aInputLength)
throws IllegalBlockSizeException,
BadPaddingException
engineDoFinal in class CipherSpiIllegalBlockSizeExceptionBadPaddingExceptionprotected int engineDoFinal(byte[] aInput,
int aInputOffset,
int aInputLength,
byte[] output,
int outputOffset)
throws ShortBufferException,
IllegalBlockSizeException,
BadPaddingException
engineDoFinal in class CipherSpiShortBufferExceptionIllegalBlockSizeExceptionBadPaddingExceptionprotected int engineGetBlockSize()
engineGetBlockSize in class CipherSpiprotected byte[] engineGetIV()
engineGetIV in class CipherSpiprotected int engineGetOutputSize(int aInputLength)
engineGetOutputSize in class CipherSpiprotected AlgorithmParameters engineGetParameters()
engineGetParameters in class CipherSpiprotected void engineInit(int aMode,
Key aKey,
SecureRandom aRandom)
throws InvalidKeyException
engineInit in class CipherSpiInvalidKeyExceptionprotected void engineInit(int opmode,
Key key,
AlgorithmParameterSpec aParams,
SecureRandom aRandom)
throws InvalidKeyException,
InvalidAlgorithmParameterException
engineInit in class CipherSpiInvalidKeyExceptionInvalidAlgorithmParameterExceptionprotected void engineInit(int opmode,
Key key,
AlgorithmParameters aParams,
SecureRandom aRandom)
throws InvalidKeyException,
InvalidAlgorithmParameterException
engineInit in class CipherSpiInvalidKeyExceptionInvalidAlgorithmParameterExceptionprotected void engineSetMode(String aMode) throws NoSuchAlgorithmException
engineSetMode in class CipherSpiNoSuchAlgorithmExceptionprotected void engineSetPadding(String aPading) throws NoSuchPaddingException
engineSetPadding in class CipherSpiNoSuchPaddingExceptionprotected byte[] engineUpdate(byte[] aInput,
int aInputOffset,
int aInputLength)
engineUpdate in class CipherSpiprotected int engineUpdate(byte[] aInput,
int aInputOffset,
int aInputLength,
byte[] aOutput,
int aOutputOffset)
throws ShortBufferException
engineUpdate in class CipherSpiShortBufferExceptionprotected int engineGetKeySize(Key key) throws InvalidKeyException
engineGetKeySize in class CipherSpiInvalidKeyExceptionCopyright © 2017. All rights reserved.