Convert an ASN.1 INTEGER to a host int64_t.

Synopsis

Declared in <openssl/asn1.h>

int
ASN1_INTEGER_get_int64(
    int64_t* pr,
    ASN1_INTEGER const* a);

Return Value

1 on success, or 0 if a is NULL or out of int64_t range.

Parameters

Name

Description

pr

Receives the signed value on success.

a

INTEGER to convert; must fit in int64_t.

Created with MrDocs