ASN1_STRING_to_UTF8
out->length = ASN1_STRING_to_UTF8(&out->data, in);
len = ASN1_STRING_to_UTF8(&data, fname);
astrlen = ASN1_STRING_to_UTF8(&astr, a);
int ASN1_STRING_to_UTF8(unsigned char **out, const ASN1_STRING *in);
cnlen = ASN1_STRING_to_UTF8(&cn, namedata);