Hi,
Programming in C...
Is there any way to export a private key to a pkcs#8 ? I have a SECKEYPrivateKey that I generate in InternalKeySlot.
CERT_CertificateTemplate exist but I can't find a template
for pkcs#8. I know it works to export it into a pkcs#12 so it should be possible.
Emil Assarsson
Short answer: no.
Long ago (6+ years) the developers of NSS decided not to support PKCS 8, and to support PKCS12 instead in the supported APIs. I think it was the right decision.
THE common tool for exchanging private keys between mozilla, OpenSSL, and Microsoft IE is the PKCS12 file.
-- Nelson B
_______________________________________________ mozilla-crypto mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-crypto
