public class LunaCipherAESEcb extends LunaCipher
LunaCipher.PaddingbytesCached, keySizeBytes, LOGGER, mAccumulator, mAlgParams, mBlockSize, mHsmOperationActive, mKey, mMechType, mOpMode, mPadding, mStandardSpec, rand| Constructor and Description |
|---|
LunaCipherAESEcb() |
| 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, finalizeengineDoFinal, engineUpdate, engineUpdateAAD, engineUpdateAADprotected void engineInit(int opmode,
Key key,
AlgorithmParameterSpec params,
SecureRandom random)
throws InvalidKeyException,
InvalidAlgorithmParameterException
protected void engineInit(int opmode,
Key key,
AlgorithmParameters params,
SecureRandom random)
throws InvalidKeyException,
InvalidAlgorithmParameterException
protected void setDefaultParams(int opmode)
throws InvalidKeyException
InvalidKeyExceptionprotected byte[] engineWrap(Key key) throws IllegalBlockSizeException, InvalidKeyException
engineWrap in class LunaCipherIllegalBlockSizeExceptionInvalidKeyExceptionprotected Key engineUnwrap(byte[] wrappedKey, String wrappedKeyAlgorithm, int wrappedKeyType) throws InvalidKeyException
LunaCipherengineUnwrap in class LunaCipherInvalidKeyException - if wrappedKey cannot be unwrapped properlyprotected void engineInit(int opmode,
Key key,
SecureRandom random)
throws InvalidKeyException
engineInit in class LunaCipherInvalidKeyExceptionCopyright 2014-2016 SafeNet Inc