public class LunaCipherARIACtr extends LunaCipher
LunaCipher.Padding
bytesCached, keySizeBytes, LOGGER, mAccumulator, mAlgParams, mBlockSize, mHsmOperationActive, mKey, mMechType, mOpMode, mPadding, mStandardSpec, rand
Constructor and Description |
---|
LunaCipherARIACtr() |
Modifier and Type | Method and Description |
---|---|
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 Key |
engineUnwrap(byte[] wrappedKey,
String wrappedKeyAlgorithm,
int wrappedKeyType)
Unwrap a previously wrapped key.
|
protected byte[] |
engineWrap(Key key) |
protected void |
setDefaultParams(int opmode) |
engineDoFinal, engineDoFinal, engineGetBlockSize, engineGetIV, engineGetKeySize, engineGetOutputSize, engineGetParameters, engineSetMode, engineSetPadding, engineUpdate, engineUpdate, finalize
engineDoFinal, engineUpdate, engineUpdateAAD, engineUpdateAAD
protected byte[] engineWrap(Key key) throws IllegalBlockSizeException, InvalidKeyException
engineWrap
in class LunaCipher
IllegalBlockSizeException
InvalidKeyException
protected Key engineUnwrap(byte[] wrappedKey, String wrappedKeyAlgorithm, int wrappedKeyType) throws InvalidKeyException
LunaCipher
engineUnwrap
in class LunaCipher
InvalidKeyException
- if wrappedKey cannot be unwrapped properlyprotected void engineInit(int opmode, Key key, AlgorithmParameterSpec params, SecureRandom random) throws InvalidKeyException, InvalidAlgorithmParameterException
engineInit
in class CipherSpi
InvalidKeyException
InvalidAlgorithmParameterException
protected void engineInit(int opmode, Key key, AlgorithmParameters params, SecureRandom random) throws InvalidKeyException, InvalidAlgorithmParameterException
engineInit
in class CipherSpi
InvalidKeyException
InvalidAlgorithmParameterException
protected void engineInit(int opmode, Key key, SecureRandom random) throws InvalidKeyException
engineInit
in class LunaCipher
InvalidKeyException
protected void setDefaultParams(int opmode) throws InvalidKeyException
InvalidKeyException
Copyright 2014-2016 SafeNet Inc