Hi All,

I am entirely new to OpenSSL, 0% knowledge of this.

My Requirement is to Parse the *.crt extension certificate and extract all
the details like issuer, public key,validity details,serial
no,OU,O,C,Signature Algorithm,subject and display same on the screen for
user through C++ programming.

I tried searching in forum with old posts,i got some information like to get 
"CN ,OU..." , you can use "X509_NAME *    X509_get_issuer_name(X509 *a);" or
"X509_NAME *    X509_get_subject_name(X509 *a);"
To get a serial number , you can use "ASN1_INTEGER *   
X509_get_serialNumber(X509 *x);"

But i did not get the information how to load my .crt extension certificate 
and where to start.

It will be helpful for me if you provide me some skeleton code,so that i can
move forward with your help and guidance.

Thanks in advance to all.

Awaiting your replies.

Thank You.
-- 
View this message in context: 
http://old.nabble.com/Parsing-the-.crt-extension-certificate-file-to-extract-the-details-tp32483646p32483646.html
Sent from the OpenSSL - User mailing list archive at Nabble.com.

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to