Function

Gcr-4Gcrpkcs11_add_module_from_file

  • Initialize a PKCS#11 module and add it to the modules that are used by the GCR library. Note that is an error to initialize the same PKCS#11 module twice.

    It is not normally necessary to call this function. The available PKCS#11 modules installed on the system are automatically loaded by the GCR library.

    Parameters

    • module_path: string

      the full file path of the PKCS#11 module

    • Optionalunused: any

      unused

    Returns boolean

    whether the module was sucessfully added.