Hi list,
Here is my code to get the issuer of an X509 certificate in PEM format.
I'm using X509_NAME_oneline() to convert the X509_NAME to a string. But
the man page discourage the use of it. Is there any other function
serves for the same purpose. All I need is to extract meta data like
issuer name, subject etc. from an X509 certificate.
Cheers,
Kau
char * issuer_name = NULL;
issuer_name = X509_NAME_oneline(X509_get_issuer_name(x509_cert),
issuer_name, 100);
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-users@openssl.org
Automated List Manager [EMAIL PROTECTED]