ASN1_INTEGER_get

Return the value of an ASN.1 INTEGER as a C long.

Synopsis

Declared in <openssl/asn1.h>

long
ASN1_INTEGER_get(ASN1_INTEGER const* a);

Return Value

The integer value, or 0xffffffffL if a is NULL or out of long range.

Parameters

NameDescription
aINTEGER to read.