public class AesWrapEcbZeroPaddingCipher
extends javax.crypto.CipherSpi
AesWrapEcbZeroPaddingCipher implements CipherSpi for the
“AESWrap/ECB/ZeroPadding” transformation.
CloudHSM does not need a SecureRandom source, as the HSM handles randomness
internally. Any source of SecureRandom passed to Cipher methods will be ignored.
Cipher,
SecureRandom| Constructor and Description |
|---|
AesWrapEcbZeroPaddingCipher(CloudHsmProvider provider)
Constructs this
CipherSpi with a default mode of ECB and zero padding. |
public AesWrapEcbZeroPaddingCipher(CloudHsmProvider provider) throws java.lang.IllegalStateException
CipherSpi with a default mode of ECB and zero padding.provider - CloudHSM provider that offers this service.java.lang.IllegalStateException - when provider is null.