Sortix main manual
This manual documents Sortix main. You can instead view this document in the latest official manual.
NAME
ASN1_bn_print — pretty-print a BIGNUM objectSYNOPSIS
#include <openssl/asn1.h>ASN1_bn_print(BIO *bio_out, const char *label, const BIGNUM *bn, unsigned char *buffer, int indent);
DESCRIPTION
ASN1_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.- If bn represents the number zero, “0” is printed.
- If bn can be represented by the data type unsigned long, it is printed in decimal notation, followed by hexadecimal notation in parentheses, both optionally preceded by a minus sign.
- Otherwise, the string “(Negative)” is printed if appropriate, a new output line is started, and the indentation is increased by four space characters. The bytes of the value of bn are then printed in big-endian order, each byte represented by a two-digit hexadecimal number, and each but the last byte followed by a colon. A new output line is started after every group of 15 bytes.