« Return to Thread: PKCS-12 support in X509

Re: PKCS-12 support in X509

by Rob Withers :: Rate this Message:

Reply to Author | View in Thread

Oh, yeah.  You may want to run Pkcs12PFX initialize to make sure the  
ASN1 gets defined.

R

On Mar 30, 2007, at 10:24 AM, Robert Withers wrote:

> Ron and all,
>
> I just published a framework for decoding and decrypting PKCS12  
> files, in order to gain access t the private key.  It is pretty  
> hackish, since I assume encryption algorithms, the private key is  
> RSA and the like, but it works for the example file you gave me, Ron.
>
> Load all current packages from the repository and then run:
>
> (Pkcs12PrivateKeyFileReader fromFile: pkcs12FileName)
> asPrivateKey
>
> and it will return the RSAPrivateKey.  That KDF was a bitch!
>
> cheers,
> Robert
> _______________________________________________
> Cryptography mailing list
> Cryptography@...
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/ 
> cryptography

_______________________________________________
Cryptography mailing list
Cryptography@...
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/cryptography

 « Return to Thread: PKCS-12 support in X509