Firefox Addon PKCS#11 API
问题 I want to access the currenly connected cryptography modules via an Firefox Addon. I found some interfaces that look like i can access the module, the slot and the token (1 → 2 → 3 → 4) but how can i access the public key of an certificate stored on such a token? Is there an such an API even available to an Addon? 回答1: nsIX509CertDB.idl provides the means to access all stored certificates, therefore also the ones accessed through crypto modules. To filter the certificates using the tokenName