Can someone post (or reference) sample code showing how to use JSS to create a PKCS #12 for a RSA key and certs held in the internal token? I am having trouble getting the private key into a keybag, safecontents, and authenticated safes. I have seen the example of creating a PFX on lxr.mozilla... but it takes the private key from another P12 rather than the internal token and doesn't seem helpful. I've also seen previous messages where there appears to be some problem with salt size and default algorithm. I'd be happy if the result P12 can be consumed by the JCE (and keytool), Firefox or IE; don't care about OpenSSL for the moment. Thanks.
_______________________________________________ dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-crypto