1gnutls_openpgp_crt_print(3) gnutls gnutls_openpgp_crt_print(3)
2
3
4
6 gnutls_openpgp_crt_print - API function
7
9 #include <gnutls/openpgp.h>
10
11 int gnutls_openpgp_crt_print(gnutls_openpgp_crt_t cert, gnutls_certifi‐
12 cate_print_formats_t format, gnutls_datum_t * out);
13
15 gnutls_openpgp_crt_t cert
16 The structure 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 (0) terminated string.
23
25 This function will pretty print an OpenPGP certificate, suitable for
26 display to a human.
27
28 The format should be (0) for future compatibility.
29
30 The output out needs to be deallocate using gnutls_free().
31
33 GNUTLS_E_SUCCESS on success, or an error code.
34
36 Report bugs to <bugs@gnutls.org>.
37 Home page: http://www.gnutls.org
38
39
41 Copyright © 2001-2014 Free Software Foundation, Inc..
42 Copying and distribution of this file, with or without modification,
43 are permitted in any medium without royalty provided the copyright
44 notice and this notice are preserved.
45
47 The full documentation for gnutls is maintained as a Texinfo manual.
48 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
49 visit
50
51 http://www.gnutls.org/manual/
52
53gnutls 3.3.29 gnutls_openpgp_crt_print(3)