Debian Codegraph @

doc/functions/gnutls_pubkey_print

raw
1
2
3
4
5 @deftypefun {int} {gnutls_pubkey_print} (gnutls_pubkey_t @var{pubkey}, gnutls_certificate_print_formats_t @var{format}, gnutls_datum_t * @var{out})
6 @var{pubkey}: The data to be printed
7
8 @var{format}: Indicate the format to use
9
10 @var{out}: Newly allocated datum with null terminated string.
11
12 This function will pretty print public key information, suitable for
13 display to a human.
14
15 Only @code{GNUTLS_CRT_PRINT_FULL} and @code{GNUTLS_CRT_PRINT_FULL_NUMBERS}
16 are implemented.
17
18 The output @code{out} needs to be deallocated using @code{gnutls_free()} .
19
20 @strong{Returns:} On success, @code{GNUTLS_E_SUCCESS} (0) is returned, otherwise a
21 negative error value.
22
23 @strong{Since:} 3.1.5
24 @end deftypefun