public class RsaEcbCipher
extends javax.crypto.CipherSpi
RsaEcbCipher implements CipherSpi for the “RSA/ECB/Padding”
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 |
|---|
RsaEcbCipher(com.amazonaws.cloudhsm.jce.provider.Padding padding,
CloudHsmProvider provider)
Constructs this
CipherSpi with the default mode of ECB, and a provided padding. |
public RsaEcbCipher(com.amazonaws.cloudhsm.jce.provider.Padding padding,
CloudHsmProvider provider)
CipherSpi with the default mode of ECB, and a provided padding.padding - The padding for this Cipher instance. See Supported mechanisms for Client SDK 5 for supported paddings.provider - CloudHSM provider that offers this service.