pkcs11

pkcs11 API は拡張機能にセキュリティモジュール PKCS #11 の列挙を可能とし、キーの元と証明書としてブラウザーからアクセスできるようにします。

この API を使うには "pkcs11" パーミッションが必要です。

Provisioning PKCS #11 modules

There are two environmental prerequisites for using this API:

  • one or more PKCS #11 modules must be installed on the user's computer
  • for each installed PKCS #11 module, there must be a native manifest file that enables the browser to locate the module.

Most probably, the user or device administrator would install the PKCS #11 module, and its installer would install the native manifest file at the same time. Note, though, that the module and manifest can't be installed as part of the extension's own installation process.

For details about the manifest file's contents and location, see Native manifests.

関数

pkcs11.getModuleSlots() (en-US)

For each slot in a module, get its name and whether it contains a token.

pkcs11.installModule() (en-US)

Installs the named PKCS #11 module.

pkcs11.isModuleInstalled() (en-US)

Checks whether the named PKCS #11 module is installed.

pkcs11.uninstallModule() (en-US)

Uninstalls the named PKCS #11 module.

ブラウザーの互換性

BCD tables only load in the browser