Peder, what you encountered is a [bug 327773]
http://bugzilla.mozilla.org/show_bug.cgi?id=327773
NSS pk11wrap layer has two functions to create private keys in a token:
PK11_ImportEncryptedPrivateKeyInfo and PK11_ImportAndReturnPrivateKey.
But only 1st of them supports EC keys. You may try
But this thread speaks of avoiding a security trap when exporting private
keys in PKCS#8 format.
So I guess this isn't supported on purpose?
Peder Nielsen
--
View this message in context:
http://old.nabble.com/Extracting-PrivateKey-from-PKCS8EncodedKeySpec-with-EC
a security trap when exporting private
keys in PKCS#8 format.
So I guess this isn't supported on purpose?
Peder Nielsen
--
View this message in context:
http://old.nabble.com/Extracting-PrivateKey-from-PKCS8EncodedKeySpec-with-EC-tp31354778p31354778.html
Sent from the Mozilla
3 matches
Mail list logo