public class LunaCipherDES3CbcISO10126Pad extends LunaCipher
LunaCipher.PaddingbytesCached, keySizeBytes, LOGGER, mAccumulator, mAlgParams, mBlockSize, mHsmOperationActive, mKey, mMechType, mOpMode, mPadding, mStandardSpec, rand| Constructor and Description |
|---|
LunaCipherDES3CbcISO10126Pad() |
| 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)
Unsupported for ISO10126 padding
|
protected byte[] |
engineWrap(Key key)
Unsupported for ISO10126 padding.
|
protected void |
setDefaultParams(int opmode) |
engineDoFinal, engineDoFinal, engineGetBlockSize, engineGetIV, engineGetKeySize, engineGetOutputSize, engineGetParameters, engineSetMode, engineSetPadding, engineUpdate, engineUpdate, finalizeengineDoFinal, engineUpdate, engineUpdateAAD, engineUpdateAADprotected byte[] engineWrap(Key key) throws IllegalBlockSizeException, InvalidKeyException
engineWrap in class LunaCipherIllegalBlockSizeException - exceptionInvalidKeyException - exceptionprotected Key engineUnwrap(byte[] wrappedKey, String wrappedKeyAlgorithm, int wrappedKeyType) throws InvalidKeyException
engineUnwrap in class LunaCipherInvalidKeyException - exceptionprotected void engineInit(int opmode,
Key key,
AlgorithmParameterSpec params,
SecureRandom random)
throws InvalidKeyException,
InvalidAlgorithmParameterException
engineInit in class CipherSpiInvalidKeyExceptionInvalidAlgorithmParameterExceptionprotected void engineInit(int opmode,
Key key,
AlgorithmParameters params,
SecureRandom random)
throws InvalidKeyException,
InvalidAlgorithmParameterException
engineInit in class CipherSpiInvalidKeyExceptionInvalidAlgorithmParameterExceptionprotected void engineInit(int opmode,
Key key,
SecureRandom random)
throws InvalidKeyException
engineInit in class LunaCipherInvalidKeyExceptionprotected void setDefaultParams(int opmode)
throws InvalidKeyException
InvalidKeyExceptionCopyright 2014-2016 SafeNet Inc