On Mon, Jun 30, 2003, chiba4mail wrote:

> In x509.h there are a lot of function prototypes and
> data structures without comment:
> I looked into and I suppose to understand that
> something is
> possible starting with a pointer to byte data of asn1
> structure.
> Is it correct? and if it is correct, what is the right
> sequence of
> things (i.e. function calls) to do to import and
> analyze the certificate?
> 

d2i_X509(), followed by X509_print_ex() will print out the contents of a
certificate from a memory buffer in human readable form, see the relevant
manual pages for more info.

Steve.
--
Dr Stephen N. Henson.
Core developer of the   OpenSSL project: http://www.openssl.org/
Freelance consultant see: http://www.drh-consultancy.demon.co.uk/
Email: [EMAIL PROTECTED], PGP key: via homepage.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to