xref: /freebsd/crypto/openssl/doc/internal/man3/ossl_bio_print_hex.pod (revision e7be843b4a162e68651d3911f0357ed464915629)
1*e7be843bSPierre Pronchery=pod
2*e7be843bSPierre Pronchery
3*e7be843bSPierre Pronchery=head1 NAME
4*e7be843bSPierre Pronchery
5*e7be843bSPierre Proncheryossl_bio_print_hex
6*e7be843bSPierre Pronchery- Print a hexdump of a binary input
7*e7be843bSPierre Pronchery
8*e7be843bSPierre Pronchery=head1 SYNOPSIS
9*e7be843bSPierre Pronchery
10*e7be843bSPierre Pronchery #include <crypto/x509.h>
11*e7be843bSPierre Pronchery
12*e7be843bSPierre Pronchery int ossl_bio_print_hex(BIO *out, unsigned char *buf, int len);
13*e7be843bSPierre Pronchery
14*e7be843bSPierre Pronchery=head1 DESCRIPTION
15*e7be843bSPierre Pronchery
16*e7be843bSPierre ProncheryThis function prints a hexdump-like hexadecimal output to I<out> from a binary
17*e7be843bSPierre Proncheryinput I<buf> that is I<len> bytes in length.
18*e7be843bSPierre Pronchery
19*e7be843bSPierre Pronchery=head1 RETURN VALUES
20*e7be843bSPierre Pronchery
21*e7be843bSPierre ProncheryReturns 1 if it succeeds in printing, and 0 if it failed.
22*e7be843bSPierre Pronchery
23*e7be843bSPierre Pronchery=head1 COPYRIGHT
24*e7be843bSPierre Pronchery
25*e7be843bSPierre ProncheryCopyright 2024 The OpenSSL Project Authors. All Rights Reserved.
26*e7be843bSPierre Pronchery
27*e7be843bSPierre ProncheryLicensed under the Apache License 2.0 (the "License").  You may not use
28*e7be843bSPierre Proncherythis file except in compliance with the License.  You can obtain a copy
29*e7be843bSPierre Proncheryin the file LICENSE in the source distribution or at
30*e7be843bSPierre ProncheryL<https://www.openssl.org/source/license.html>.
31*e7be843bSPierre Pronchery
32*e7be843bSPierre Pronchery=cut
33