On Tue, Oct 31, 2006, Alexis Lefort wrote:

> I found a source code in the openssl examples.<br>
> But I still don't know how to test the type of the file (X.509 or
> PKCS#12). Is there a mean to do so?<br>

Don't post in HTML.

Easiest option is to call d2i_PKCS12() and friends and see if you get an
error.

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