Gcr.pkcs11_add_module_from_file
function pkcs11_add_module_from_file(module_path: String, unused: void): Boolean { // Gjs wrapper for gcr_pkcs11_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.
- module_path
the full file path of the PKCS\#11 module
- unused
unused
- Returns
whether the module was sucessfully added.