Gcr.pkcs11_get_modules

function pkcs11_get_modules(): Array(Gck.Module) {
    // Gjs wrapper for gcr_pkcs11_get_modules()
}
  

List all the PKCS\#11 modules that are used by the GCR library. Each module is a Gck.Module object.

An empty list of modules will be returned if Gcr.pkcs11_set_modules, or Gcr.pkcs11_initialize has not yet run.

When done with the list, free it with Gck.list_unref_free.

Returns

a newly allocated list of Gck.Module objects