[Help-gnutls] gnutls_x509_crq_get_dn_by_oid

Daniel Stenberg daniel at haxx.se
Fri Apr 22 22:55:37 CEST 2005

On Fri, 22 Apr 2005, Nikos Mavrogiannopoulos wrote:

>>    rc = gnutls_x509_crt_get_dn_by_oid(x509_cert,
>> GNUTLS_OID_X520_COMMON_NAME, 0, /* the first and only one */ TRUE, /* give
>> to me raw please */ certbuf,
>>                                       &size);
> Why do you want the DER data and not a printable string?

I don't. I thought I asked for a printable one.

Did I mention that I found the documentation for the function cryptic? ;-)


          -=- Daniel Stenberg -=- http://daniel.haxx.se -=-
   ech`echo xiun|tr nu oc|sed 'sx\([sx]\)\([xoi]\)xo un\2\1 is xg'`ol

More information about the Gnutls-help mailing list