Subrata Mazumdar wrote:
On further testing and reading the description of generateCRMFRequest()
method doc, I figured out why the key generation was failing.
I have to pass keySize as integer type not string type.
The key genartion now works for RSA and DSA key types but it still fails
for EC key type.
Is key generation for EC type is supported on Firefox 3.0.10?
EC keys need a curve (for instance the NIST P-256 or P-384 prime
curves), not an integer keysize, so they probably need something
different for that param. Unfortunately, I don't know anything specific
about the generateCRMFRequest() method so I can't tell you exactly what
you need to do. Depending on how the NSS for that firefox was compiled,
it may or may not support ECC at all.
Dave
--
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto