public class TripleDesKeyFactory
extends javax.crypto.SecretKeyFactorySpi
TripleDesKeyFactory implements SecretKeyFactorySpi for importing software Triple
DES keys into CloudHSM.
This provides an implementation for the “DESede” transformation string.
CloudHSM specific attributes may be set by providing a KeyAttributesMap to the SecretKeyFactory::generateSecret() method. Otherwise, key attributes will be derived from the
provided SecretKeySpec.
SecretKeyFactory,
KeyAttributesMap| Constructor and Description |
|---|
TripleDesKeyFactory(CloudHsmProvider provider)
Constructs this
SecretKeyFactorySpi. |
public TripleDesKeyFactory(CloudHsmProvider provider) throws java.lang.IllegalStateException
SecretKeyFactorySpi.provider - CloudHSM provider that offers this service.java.lang.IllegalStateException - when provider is null.