1gnutls_pubkey_print(3) gnutls gnutls_pubkey_print(3)
2
3
4
6 gnutls_pubkey_print - API function
7
9 #include <gnutls/abstract.h>
10
11 int gnutls_pubkey_print(gnutls_pubkey_t pubkey, gnutls_certifi‐
12 cate_print_formats_t format, gnutls_datum_t * out);
13
15 gnutls_pubkey_t pubkey
16 The data to be printed
17
18 gnutls_certificate_print_formats_t format
19 Indicate the format to use
20
21 gnutls_datum_t * out
22 Newly allocated datum with null terminated string.
23
25 This function will pretty print public key information, suitable for
26 display to a human.
27
28 Only GNUTLS_CRT_PRINT_FULL and GNUTLS_CRT_PRINT_FULL_NUMBERS are imple‐
29 mented.
30
31 The output out needs to be deallocated using gnutls_free().
32
34 On success, GNUTLS_E_SUCCESS (0) is returned, otherwise a negative
35 error value.
36
38 3.1.5
39
41 Report bugs to <bugs@gnutls.org>.
42 Home page: https://www.gnutls.org
43
44
46 Copyright © 2001-2019 Free Software Foundation, Inc., and others.
47 Copying and distribution of this file, with or without modification,
48 are permitted in any medium without royalty provided the copyright
49 notice and this notice are preserved.
50
52 The full documentation for gnutls is maintained as a Texinfo manual.
53 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
54 visit
55
56 https://www.gnutls.org/manual/
57
58gnutls 3.6.8 gnutls_pubkey_print(3)