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