> The problem is if I give the name of the extension given as in the
> certificate,
What is the "name of the extension given as in the certificate"?
Certificates don't contain extension names.
> the OBJ_sn2nid function is throwing NULL value that
> means it is
> unable to find the extension.
Pr
e obj_mac.h?
If yes How to give the number of the NID?
Regards
Sunil.
--
View this message in context:
http://www.nabble.com/Regarding-the-obj_mac.h-tp14710890p14710890.html
Sent from the OpenSSL - User mailing list a
On Wed, Jan 09, 2008, [EMAIL PROTECTED] wrote:
> Hi,
>
> I wrote one C program to read the X509 certificate using OPENSSL
> functions.
> And I was trying access the different extensions and their values from
> certificate.
> First I am getting the NID of the extension using the below function.
>
Hi,
I wrote one C program to read the X509 certificate using OPENSSL
functions.
And I was trying access the different extensions and their values from
certificate.
First I am getting the NID of the extension using the below function.
---
nid=OBJ_sn2nid(trimmedExtensionName);
-