I am using the following function to test generating key pairs in
Firefox 5.0:

crmf_result = crypto.generateCRMFRequest(
  "CN=X",
  "bla1",
  "bla2",
  null,
  "gen_ready();",
  256, "curve=nistp256", reqtype);
}

I am able to generate ECC encryption keys using: reqtype = 'ec-ex'
However, it fails when I try to generate ECC signature keys using
reqtype = 'ec-sign'

I tried the other options for ECC given in 
https://developer.mozilla.org/en/generateCRMFRequest
as well but have only been able to generate keys using the 'ec-ex'
argument.
-- 
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to