public class RsaAesWithSHA384Cipher
extends javax.crypto.CipherSpi
RsaAesWithSHA384Cipher implements CipherSpi for the
“RSAAESWrap/ECB/OAEPWithSHA-384ANDMGF1Padding” transformation.
If the supplied mask generation function or message digest are not supported by the HSM, an
RsaAesInvalidParametersException will be thrown from Cipher::init().
CloudHSM does not need a SecureRandom source, as the HSM handles randomness
internally. Any source of SecureRandom passed to Cipher methods will be ignored.
RsaAesInvalidParametersException,
Cipher,
SecureRandom| Constructor and Description |
|---|
RsaAesWithSHA384Cipher(CloudHsmProvider provider)
Constructs this Cipher in ECB mode and OAEP with SHA-384 and MGF1.
|
public RsaAesWithSHA384Cipher(CloudHsmProvider provider)
provider - CloudHSM provider that offers this service.