I think the answer to your question is that you can only sign and verify text (for signing forms), as well as generate RSA keys (for the key generation mechanism embedded in HTML). Most NSS functionality is not exported to Firefox. Any functionality that is exported is done so through the PSM modules, you can look at the source code here:
http://lxr.mozilla.org/mozilla1.8/source/security/manager/ All I see in the source code at a glimpse is code for signing/verifying test, key generation and conversion between DER and ASN1 objects. For some discussion of why it might not be a good idea to export more NSS functionality into Firefox, you can see the last message of this thread: http://groups.google.com/group/mozilla.dev.tech.crypto/browse_thread/thread/298e0723330e9697 I am not sure if Firefox implements any crypto code itself, I haven't seen any. Maybe Firefox and NSS are interfaced in a way that allows NSS to do all crypto stuff for Firefox. I hope this helps :) Other people may know more than me about this. Regards, Peter _______________________________________________ dev-tech-crypto mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-crypto

