|
NAMEASN1_bn_print —
pretty-print a BIGNUM object
SYNOPSIS#include <openssl/asn1.h>
int
DESCRIPTIONASN1_bn_print () prints bn to
bio_out in human-readable form. Despite its name and the
header file, this function has nothing to do with ASN.1.
The caller is responsible for providing a
buffer that is at least
If indent is greater than zero, indent space characters are printed first, but not more than 128. The NUL-terminated label is printed next. After that, there are three cases:
Finally, a newline character is printed to end the output. If bn is a RETURN VALUESASN1_bn_print () returns 1 if successful or if
bn is a NULL pointer. It returns
0 if printing fails.
SEE ALSOBIO_new(3), BIO_write(3), BN_is_negative(3), BN_is_zero(3), BN_new(3), BN_num_bytes(3), BN_print(3)HISTORYASN1_bn_print () first appeared in OpenSSL 1.0.0 and has
been available since OpenBSD 4.9.
Visit the GSP FreeBSD Man Page Interface. |