public class DesedeCbcPaddingCipher
extends javax.crypto.CipherSpi
DesedeCbcPaddingCipher implements CipherSpi for the
“DESede/CBC/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 |
|---|
DesedeCbcPaddingCipher(CloudHsmProvider provider)
Constructs this
CipherSpi with a default mode of CBC and PKCS5 padding. |
public DesedeCbcPaddingCipher(CloudHsmProvider provider) throws java.lang.IllegalStateException
CipherSpi with a default mode of CBC and PKCS5 padding.provider - CloudHSM provider that offers this service.java.lang.IllegalStateException - when provider is null.