timeless wrote:
Jim Spring wrote:
I've checked the PKCS11 FAQ and it doesn't list all of them,
so I was curious if there is a definitive list of the hard
coded mechanisms that Firefox (and Thunderbird) use? For
instance, KeyGen uses CKM_RSA_PKCS. I'm looking for a short
cut to trudging through the source :)
you mean like using a search engine?
http://mxr-test.landfill.bugzilla.org/seamonkey/search?string=CKM_&find=security/manager
You'd also need to search inside the NSS source tree.
If you only look at the search results above, you'd
conclude that Firefox doesn't use the AES encryption
algorithm and the SHA-256 hash algorithm, but it does.
Jim, you may want to look at the CoolKey PKCS #11 module:
http://directory.fedora.redhat.com/wiki/CoolKey#CoolKey_PKCS_.2311_module
It was written by programmers on the NSS team and works
with Firefox and Thunderbird. So you could use it as a
reference.
Wan-Teh
_______________________________________________
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto