Convert a BIGNUM to an ASN.1 ENUMERATED value.
Synopsis
Declared in <openssl/asn1.h>
ASN1_ENUMERATED*
BN_to_ASN1_ENUMERATED(
BIGNUM const* bn,
ASN1_ENUMERATED* ai);
Return Value
Pointer to the ENUMERATED result (possibly newly allocated), or NULL on error.
Parameters
Name |
Description |
bn |
Integer to convert. |
ai |
Destination ENUMERATED to reuse, or NULL to allocate a new one. |
Created with MrDocs