[#BN_to_ASN1_ENUMERATED] = BN_to_ASN1_ENUMERATED :mrdocs: Convert a BIGNUM to an ASN.1 ENUMERATED value. == Synopsis Declared in `<openssl/asn1.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:ASN1_ENUMERATED.adoc[ASN1_ENUMERATED]* BN_to_ASN1_ENUMERATED( xref:BIGNUM.adoc[BIGNUM] const* bn, xref:ASN1_ENUMERATED.adoc[ASN1_ENUMERATED]* ai); ---- == Return Value Pointer to the ENUMERATED result (possibly newly allocated), or NULL on error. == Parameters [cols="1,4"] |=== | Name| Description | *bn* | Integer to convert. | *ai* | Destination ENUMERATED to reuse, or NULL to allocate a new one. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#