On 2010-06-06 20:38 PDT, james07 wrote:

> I would like to create a plug-in for Firefox that, when invoked,
> generates a new key in the Firefox key/certificate store. Is it possible
> to generate a new keypair in using NSS from the plug-in, or do I need to
> somehow call crypto.generateCRMF() via javascript from the plug-in?


Your plugin can call any public NSS API function.
It's best if you use PSM functions where they exist
because PSM will handle NSS initialization and shutdown for you.
But you aren't required to use PSM for every function call.
-- 
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to