Re[2]: Extracting PrivateKey from PKCS8EncodedKeySpec with EC

2011-04-13 Thread Konstantin Andreev
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

Re: Extracting PrivateKey from PKCS8EncodedKeySpec with EC

2011-04-12 Thread Peder Nielsen @ GecoInc
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

Extracting PrivateKey from PKCS8EncodedKeySpec with EC

2011-04-08 Thread Peder Nielsen @ GecoInc
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