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? ;-)
Thanks!
--
-=- Daniel Stenberg -=- http://daniel.haxx.se -=-
ech`echo xiun|tr nu oc|sed 'sx\([sx]\)\([xoi]\)xo un\2\1 is xg'`ol
_______________________________________________
Help-gnutls mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gnutls