On Wed, May 03, 2006, Jie Zhang wrote:

> 
> Hello,
> 
> There are something available for saving a bunch of private 
> key/certificate pairs into one pkcs#12 file. And our project 
> are planning to do that. But I really has no idea about how 
> to get those private key/certificate pairs out of that pkcs#12
> file by using OpenSSL. 
> 
> Can anybody here give me some advice? Will something like 
> PKCS12_unpack_authsafes() help? Or there is no good way in 
> openssl yet?
> 

No need to ask 4 times :-)

There isn't a multi key / certificate equivalent to PKCS12_parse() yet. The
pkcs12 utility can handle such files by parsing the files at a lower level.
You could copy what it does.

Steve.
--
Dr Stephen N. Henson. Email, S/MIME and PGP keys: see homepage
OpenSSL project core developer and freelance consultant.
Funding needed! Details on homepage.
Homepage: http://www.drh-consultancy.demon.co.uk
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to