Re: Request for example of creating a PKCS #12 for RSA key from the internal token

2007-11-16 Thread Bill Price
Thanks. That appears to have helped/worked. I was close (but this is not horseshoes). I don't understand why I had to implement the PWConverter Class rather than use the PasswordConverter class. I also had to change the algorithm for the encrypted safe contents from the default algorithm to the

Re: Request for example of creating a PKCS #12 for RSA key from the internal token

2007-11-15 Thread David Stutzman
Bill Price wrote: > 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 creat

Request for example of creating a PKCS #12 for RSA key from the internal token

2007-11-14 Thread Bill Price
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.