ASN1_STRING_to_UTF8
name_length = ASN1_STRING_to_UTF8(&dnsname, san->d.dNSName);
len = ASN1_STRING_to_UTF8(&data, fname);
if ((utf8_length = ASN1_STRING_to_UTF8(&utf8_value, cn)) < 0)
astrlen = ASN1_STRING_to_UTF8(&astr, a);
out->length = ASN1_STRING_to_UTF8(&out->data, in);
int ASN1_STRING_to_UTF8(unsigned char **out, const ASN1_STRING *in);
cnlen = ASN1_STRING_to_UTF8(&cn, namedata);