public class LunaCipherRSAOAEP extends LunaCipher
LunaCipher.Padding
AES_GCM_GENERATED_IV_LENGTH, bytesCached, keySizeBytes, LOGGER, mAccumulator, mAlgParams, mBlockSize, mHsmOperationActive, mKey, mMechType, mOpMode, mPadding, mStandardSpec, rand
Modifier | Constructor and Description |
---|---|
|
LunaCipherRSAOAEP() |
protected |
LunaCipherRSAOAEP(java.lang.String padding,
java.lang.String defaultHashAlg,
int defaultMgfType) |
Modifier and Type | Method and Description |
---|---|
protected int |
engineDoFinal(byte[] input,
int inputOffset,
int inputLen,
byte[] output,
int outputOffset) |
protected java.security.AlgorithmParameters |
engineGetParameters() |
protected void |
engineInit(int opmode,
java.security.Key key,
java.security.spec.AlgorithmParameterSpec paramSpec,
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) |
engineDoFinal, engineGetBlockSize, engineGetFinalOutputSize, engineGetIV, engineGetKeySize, engineGetOutputSize, engineGetUpdateOutputSize, engineSetMode, engineSetPadding, engineUnwrap, engineUpdate, engineUpdate, engineUpdateAAD, engineWrap, finalize
public LunaCipherRSAOAEP()
protected LunaCipherRSAOAEP(java.lang.String padding, java.lang.String defaultHashAlg, int defaultMgfType)
protected java.security.AlgorithmParameters engineGetParameters()
engineGetParameters
in class LunaCipher
protected void engineInit(int opmode, java.security.Key key, java.security.spec.AlgorithmParameterSpec paramSpec, 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 int engineDoFinal(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset) throws javax.crypto.ShortBufferException, javax.crypto.IllegalBlockSizeException, javax.crypto.BadPaddingException
engineDoFinal
in class LunaCipher
javax.crypto.ShortBufferException
javax.crypto.IllegalBlockSizeException
javax.crypto.BadPaddingException
Copyright 2014-2018 SafeNet. All rights reserved.