pkcs11.uninstallModule()

Uninstalls the named PKCS #11 module from Firefox.

This is an asynchronous function that returns a Promise.

Syntax

js
let uninstalling = browser.pkcs11.uninstallModule(
  name              // string
)

Parameters

name

string. Name of the module to uninstall. This must match the name property in the PKCS #11 manifest for the module.

Return value

A Promise that will be fulfilled with no arguments once the module is uninstalled.

If the module could not be found or some other error occurs, the promise will be rejected with an error message.

Examples

Uninstalls the module named "pkcs11_module":

js
browser.pkcs11.uninstallModule("pkcs11_module");

Browser compatibility

desktop mobile
Chrome
Edge
Firefox
Opera
Safari
Firefox for Android
Safari on iOS
uninstallModule
Chrome – No support
Chrome
footnote No support
Edge – No support
Edge
footnote No support
Firefox – Full support
Firefox 58 (Release date: 2018-01-23)
footnote Full support
Opera – No support
Opera
footnote No support
Safari – No support
Safari
footnote No support
Firefox for Android – No support
Firefox for Android
footnote No support
Safari on iOS – No support
Safari on iOS
footnote No support

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support
No support
No support