Class PKCS11CryptoEngine
- java.lang.Object
-
- io.axoniq.dataprotection.cryptoengine.JavaKeyStoreCryptoEngine
-
- io.axoniq.dataprotection.cryptoengine.PKCS11CryptoEngine
-
- All Implemented Interfaces:
CryptoEngine
public class PKCS11CryptoEngine extends JavaKeyStoreCryptoEngine
Implementation ofCryptoEnginethat uses a PKCS#11 backend, such as a Hardware Security Module (HSM). This implementation uses the SunPKCS11 provider. (from Java 7 to 15)
-
-
Constructor Summary
Constructors Constructor Description PKCS11CryptoEngine(String configName, char[] password)Constructs a newPKCS11CryptoEngine
-
Method Summary
-
Methods inherited from class io.axoniq.dataprotection.cryptoengine.JavaKeyStoreCryptoEngine
createCipher, createDigestCipher, deleteKey, getKey, getKeyType, getOrCreateKey, setKeyType
-
-
-
-
Constructor Detail
-
PKCS11CryptoEngine
public PKCS11CryptoEngine(String configName, char[] password)
Constructs a newPKCS11CryptoEngine- Parameters:
configName- the name of a file holding the config for {SunPKCS11}password- the password to open the keystore. Will be overwritten with zeroes after successful opening
-
-