pkcs11 API

PKCS#11 module management API

Permissions

pkcs11

Note

The permission pkcs11 is required to use messenger.pkcs11.*.

Functions

getModuleSlots(name)

Enumerate a module’s slots, each with their name and whether a token is present

Parameters

name

(string)

Required permissions

  • pkcs11

installModule(name, [flags])

Install a PKCS#11 module with a given name

Parameters

name

(string)

[flags]

(integer, optional)

Required permissions

  • pkcs11

isModuleInstalled(name)

checks whether a PKCS#11 module, given by name, is installed

Parameters

name

(string)

Required permissions

  • pkcs11

uninstallModule(name)

Remove an installed PKCS#11 module from firefox

Parameters

name

(string)

Required permissions

  • pkcs11