BN_print

Write the hexadecimal encoding of a BIGNUM to a BIO.

Synopsis

Declared in <openssl/bn.h>

int
BN_print(
    BIO* bio,
    BIGNUM const* a);

Return Value

1 on success, or 0 on write error.

Parameters

NameDescription
bioDestination BIO.
aValue to print; a leading '-' is written for negative numbers.