Class HSMKeystorePKCS11Provider


  • public final class HSMKeystorePKCS11Provider
    extends java.lang.Object

    Class 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.KeyStore getKeyStore()
      Method that returns the keystore representation of the HSM.
      static void reloadHSMConfiguration()
      Method that loads the properties and configure the access to the HSM.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • reloadHSMConfiguration

        public static void reloadHSMConfiguration()
                                           throws HSMException
        Method 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 HSMException
        Method 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.