Write datalen bytes from data as a colon-separated hex string to a BIO.
Declared in <openssl/bio.h>
int
BIO_hex_string(
BIO* out,
int indent,
int width,
void const* data,
int datalen);
1 on success, or 0 on error.
| Name | Description |
|---|---|
| out | Destination BIO. |
| indent | Number of spaces to prefix the first line (and continuation lines as needed). |
| width | Maximum number of hex octets per line before wrapping (0 for no wrap). |
| data | Bytes to format. |
| datalen | Number of bytes at data. |