[gnutls-dev] non-ASCII ASN.1 string types

Nikos Mavrogiannopoulos nmav at gnutls.org
Fri Oct 8 10:22:47 CEST 2004


On Thursday 07 October 2004 23:04, Joe Orton wrote:
> The gnutls_x509_crq_get_dn_by_oid documentation states the output will
> be "ASCII or UTF-8 encoded, depending on certificate data".  Is there
> really code to back that up?
>
> For a certificate with the OU encoded as a BMPString, the function
> appears to simply give back the raw UCS-2 data, likewise a T61String OU
> is given back as-is.
Types other than UTF8String and ascii are not supported yet.
It should have returned an error though (I'll check it).


> joe

-- 
Nikos Mavrogiannopoulos




More information about the Gnutls-devel mailing list