Hi, I'm trying to use NSS libs to store an recover private keys. For a number of reasons not worth mentioning, I've been requested to do a very specific thing: I will receive a file containing a raw RSA private key (DER Encoded I suppose). I must store this key and lately recover it to be used with a module that uses Crypto++. Going trhough the NSS API LXR docs I found PK11_ImportPrivateKeyInfo and PK11_ExportPrivateKeyInfo. These 2 functions seem to be what I need but I'm not sure wich values should I use for *publicValue, isPerm, isPrivate, and keyUsage parameters of ImportPrivateKeyInfo. I haven't been able to find a sample that helps me with this so I would apreciatte any help.
Thanks in advance, Gabriel -------------------------------------------------------------------- mail2web - Check your email from the web at http://mail2web.com/ .
