public class AesCbcNoPaddingCipher
extends javax.crypto.CipherSpi
AesCbcNoPaddingCipher implements CipherSpi for the
“AES/CBC/NoPadding” 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 |
|---|
AesCbcNoPaddingCipher(CloudHsmProvider provider)
Constructs this Cipher in CBC mode with no padding.
|
public AesCbcNoPaddingCipher(CloudHsmProvider provider) throws java.lang.IllegalStateException
provider - CloudHSM provider that offers this service.java.lang.IllegalStateException - when provider is null.