On Sat, Jun 13, 2009 at 11:14:30AM +1000, Tim Hudson wrote:
> Martin Kaiser wrote:
>> Hi Jerry,
>> Thus wrote Jerry Wang (jerry...@gmail.com):
>>> Does OpenSSL have a function for getting the common name from a X509
>>> certificate?
>> how about something like
>> X509 *cert;
>> X509_NAME *subjectN
Martin Kaiser wrote:
Hi Jerry,
Thus wrote Jerry Wang (jerry...@gmail.com):
Does OpenSSL have a function for getting the common name from a X509
certificate?
how about something like
X509 *cert;
X509_NAME *subjectName;
char subjectCn[256];
subjectName = X509_get_subject_name(cert);
X50
Hi Jerry,
Thus wrote Jerry Wang (jerry...@gmail.com):
> Does OpenSSL have a function for getting the common name from a X509
> certificate?
how about something like
X509 *cert;
X509_NAME *subjectName;
char subjectCn[256];
subjectName = X509_get_subject_name(cert);
X509_NAME_get_text_by_NID
Hi,
Does OpenSSL have a function for getting the common name from a X509
certificate?
Thanks,
Jerry