Package es.gob.afirma.hsm
Class HSMKeystorePKCS11Provider
- java.lang.Object
-
- es.gob.afirma.hsm.HSMKeystorePKCS11Provider
-
public final class HSMKeystorePKCS11Provider extends java.lang.ObjectClass to manage the connection to the HSM and create the Keystore representation.
Project:Library for the integration with the services of @Firma, eVisor and TS@.
- Version:
- 1.2, 13/09/2024.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.security.KeyStoregetKeyStore()Method that returns the keystore representation of the HSM.static voidreloadHSMConfiguration()Method that loads the properties and configure the access to the HSM.
-
-
-
Method Detail
-
reloadHSMConfiguration
public static void reloadHSMConfiguration() throws HSMExceptionMethod that loads the properties and configure the access to the HSM.- Throws:
HSMException- In case of some error loading the properties or the HSM configuration.
-
getKeyStore
public static java.security.KeyStore getKeyStore() throws HSMExceptionMethod that returns the keystore representation of the HSM.- Returns:
- Keystore representation of the HSM.
- Throws:
HSMException- In case of some error loading the properties or the HSM configuration.
-
-