public class LunaCipherARIAcbcISO10126Pad extends LunaCipher
LunaCipher.Padding
AES_GCM_GENERATED_IV_LENGTH, bytesCached, keySizeBytes, LOGGER, mAccumulator, mAlgParams, mBlockSize, mHsmOperationActive, mKey, mMechType, mOpMode, mPadding, mStandardSpec, rand
Constructor and Description |
---|
LunaCipherARIAcbcISO10126Pad() |
Modifier and Type | Method and Description |
---|---|
protected void |
engineInit(int opmode,
java.security.Key key,
java.security.spec.AlgorithmParameterSpec params,
java.security.SecureRandom random) |
protected void |
engineInit(int opmode,
java.security.Key key,
java.security.AlgorithmParameters params,
java.security.SecureRandom random) |
protected void |
engineInit(int opmode,
java.security.Key key,
java.security.SecureRandom random) |
protected java.security.Key |
engineUnwrap(byte[] wrappedKey,
java.lang.String wrappedKeyAlgorithm,
int wrappedKeyType)
Unsupported for ISO10126 padding
|
protected byte[] |
engineWrap(java.security.Key key)
Unsupported for ISO10126 padding.
|
protected void |
setDefaultParams(int opmode) |
engineDoFinal, engineDoFinal, engineGetBlockSize, engineGetFinalOutputSize, engineGetIV, engineGetKeySize, engineGetOutputSize, engineGetParameters, engineGetUpdateOutputSize, engineSetMode, engineSetPadding, engineUpdate, engineUpdate, engineUpdateAAD, finalize
protected byte[] engineWrap(java.security.Key key) throws javax.crypto.IllegalBlockSizeException, java.security.InvalidKeyException
engineWrap
in class LunaCipher
javax.crypto.IllegalBlockSizeException
- exceptionjava.security.InvalidKeyException
- exceptionprotected java.security.Key engineUnwrap(byte[] wrappedKey, java.lang.String wrappedKeyAlgorithm, int wrappedKeyType) throws java.security.InvalidKeyException
engineUnwrap
in class LunaCipher
java.security.InvalidKeyException
- exceptionprotected void engineInit(int opmode, java.security.Key key, java.security.spec.AlgorithmParameterSpec params, java.security.SecureRandom random) throws java.security.InvalidKeyException, java.security.InvalidAlgorithmParameterException
engineInit
in class javax.crypto.CipherSpi
java.security.InvalidKeyException
java.security.InvalidAlgorithmParameterException
protected void engineInit(int opmode, java.security.Key key, java.security.AlgorithmParameters params, java.security.SecureRandom random) throws java.security.InvalidKeyException, java.security.InvalidAlgorithmParameterException
engineInit
in class javax.crypto.CipherSpi
java.security.InvalidKeyException
java.security.InvalidAlgorithmParameterException
protected void engineInit(int opmode, java.security.Key key, java.security.SecureRandom random) throws java.security.InvalidKeyException
engineInit
in class LunaCipher
java.security.InvalidKeyException
protected void setDefaultParams(int opmode) throws java.security.InvalidKeyException
java.security.InvalidKeyException
Copyright 2014-2018 SafeNet. All rights reserved.