bn_to_asn1_string
return bn_to_asn1_string(bn, ai, V_ASN1_INTEGER);
return bn_to_asn1_string(bn, ai, V_ASN1_ENUMERATED);