Hi,
I am interested in getting only the key usage info
from a X509 cert in C.
I can print this by:
X509V3_EXT_print_fp(stdout, X509_get_ext(my_x509cert,
(X509_get_ext_by_NID(my_x509cert,
OBJ_sn2nid(SN_key_usage), -1))), 0, 0);
If my cert has the following info:
key usage: Digital Signature, Non Repudiation, Key
Encipherment, Data Encipherment, Key Agreement
and I want to get the values into a say a char * how
can I do it.
Any help is greatly appreciated.
Thanks
/Shivaram
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]