Convert an ASN1_ENUMERATED to a signed 64‐bit integer.

Synopsis

Declared in <openssl/asn1.h>

int
ASN1_ENUMERATED_get_int64(
    int64_t* pr,
    ASN1_ENUMERATED const* a);

Return Value

1 on success, or 0 if a is NULL or the value does not fit in int64_t.

Parameters

Name

Description

pr

Receives the converted value on success.

a

ASN.1 ENUMERATED value to convert.

Created with MrDocs