Window.pkcs11

Obsolete since Gecko 29 (Firefox 29 / Thunderbird 29 / SeaMonkey 2.26)
This feature is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it.

Summary

Returns the pkcs11 object, which is used to install drivers and other software associated with the pkcs11 protocol. If pkcs11 isn't supported, this property returns null.

Note: This property has been returned null since Gecko 1.9.0.14 (Firefox 3.0.14) and removed in Gecko 29.0 (Firefox 29 / Thunderbird 29 / SeaMonkey 2.26)) for security reasons. For more information on installing PKCS11 modules, see installing PKCS11 modules. See bug 326628 for details on why the property was removed.

Syntax

objRef = window.pkcs11

Example

 window.pkcs11.addModule(sMod, secPath, 0, 0);

Notes

See nsIDOMPkcs11 for more information about how to manipulate pkcs11 objects.

Specification

Not part of specification.

Browser compatibility

DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
pkcs11
DeprecatedNon-standard
Chrome No support NoEdge No support NoFirefox No support ? — 29IE ? Opera ? Safari ? WebView Android No support NoChrome Android No support NoFirefox Android No support ? — 29Opera Android ? Safari iOS ? Samsung Internet Android No support No

Legend

No support
No support
Compatibility unknown
Compatibility unknown
Non-standard. Expect poor cross-browser support.
Non-standard. Expect poor cross-browser support.
Deprecated. Not for use in new websites.
Deprecated. Not for use in new websites.