public class ChaosCipherImpl extends CipherSpi
Constructor | Description |
---|---|
ChaosCipherImpl() |
Modifier and Type | Method | 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,
AlgorithmParameters aParams,
SecureRandom aRandom) |
|
protected void |
engineInit(int aMode,
Key aKey,
SecureRandom aRandom) |
|
protected void |
engineInit(int opmode,
Key key,
AlgorithmParameterSpec aParams,
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, engineWrap
protected byte[] engineDoFinal(byte[] aInput, int aInputOffset, int aInputLength) throws IllegalBlockSizeException, BadPaddingException
engineDoFinal
in class CipherSpi
IllegalBlockSizeException
BadPaddingException
protected int engineDoFinal(byte[] aInput, int aInputOffset, int aInputLength, byte[] output, int outputOffset) throws ShortBufferException, IllegalBlockSizeException, BadPaddingException
engineDoFinal
in class CipherSpi
ShortBufferException
IllegalBlockSizeException
BadPaddingException
protected int engineGetBlockSize()
engineGetBlockSize
in class CipherSpi
protected byte[] engineGetIV()
engineGetIV
in class CipherSpi
protected int engineGetOutputSize(int aInputLength)
engineGetOutputSize
in class CipherSpi
protected AlgorithmParameters engineGetParameters()
engineGetParameters
in class CipherSpi
protected void engineInit(int aMode, Key aKey, SecureRandom aRandom) throws InvalidKeyException
engineInit
in class CipherSpi
InvalidKeyException
protected void engineInit(int opmode, Key key, AlgorithmParameterSpec aParams, SecureRandom aRandom) throws InvalidKeyException, InvalidAlgorithmParameterException
engineInit
in class CipherSpi
InvalidKeyException
InvalidAlgorithmParameterException
protected void engineInit(int opmode, Key key, AlgorithmParameters aParams, SecureRandom aRandom) throws InvalidKeyException, InvalidAlgorithmParameterException
engineInit
in class CipherSpi
InvalidKeyException
InvalidAlgorithmParameterException
protected void engineSetMode(String aMode) throws NoSuchAlgorithmException
engineSetMode
in class CipherSpi
NoSuchAlgorithmException
protected void engineSetPadding(String aPading) throws NoSuchPaddingException
engineSetPadding
in class CipherSpi
NoSuchPaddingException
protected byte[] engineUpdate(byte[] aInput, int aInputOffset, int aInputLength)
engineUpdate
in class CipherSpi
protected int engineUpdate(byte[] aInput, int aInputOffset, int aInputLength, byte[] aOutput, int aOutputOffset) throws ShortBufferException
engineUpdate
in class CipherSpi
ShortBufferException
protected int engineGetKeySize(Key key) throws InvalidKeyException
engineGetKeySize
in class CipherSpi
InvalidKeyException
Copyright © 2018. All rights reserved.