Greets all,
This is a little bit aside from normal user discussion, but I've just about run out of
other resources to try :)
I was perusing the PKCS12 code from the OpenSSL source, but having trouble finding an
answer to my question, so I thought I'd ask here.
I'm attempting to do a little finagling with a Netscape-exported PKCS#12 message to
extract the public/private keys, much like openssl/pkcs12 seems to do, except that I
need to get my hands on the raw data of the key, so that hopefully I can repackage it
in a different format.
However, the structure of Netscape's message is boggling me. The AuthenticatedSafe
sequence doesn't seem to conform to the PKCS#12 spec, with a bazillion one-byte octet
strings with some longer ones included. Obviously the key and certificate info is in
here, but I'm having trouble seeing where. Any advice on how I need to parse these
out to yield meaningful data?
I'm still attempting to read through the PKCS12/asn1 code to see how OpenSSL is doing
it, but not having tons of luck figuring out the logic chain.
Thanks for any advice!
-Justin Wienckowski
[EMAIL PROTECTED]
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]