Print a byte buffer as colon‐separated hex to a BIO with indentation.

Synopsis

Declared in <openssl/asn1.h>

int
ASN1_buf_print(
    BIO* bp,
    unsigned char const* buf,
    size_t buflen,
    int off);

Return Value

1 on success, or 0 on error.

Parameters

Name

Description

bp

BIO that receives the formatted output.

buf

Bytes to print.

buflen

Number of bytes at buf.

off

Indentation depth in spaces.

Created with MrDocs