1gnutls_openpgp_crt_print(3) gnutls gnutls_openpgp_crt_print(3)
2
3
4
6 gnutls_openpgp_crt_print - Pretty print OpenPGP certificates
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 zero 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 zero 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 <bug-gnutls@gnu.org>. GnuTLS home page:
37 http://www.gnu.org/software/gnutls/ General help using GNU software:
38 http://www.gnu.org/gethelp/
39
41 Copyright © 2008 Free Software Foundation.
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 info and gnutls programs are properly installed at your site,
49 the command
50
51 info gnutls
52
53 should give you access to the complete manual.
54
55
56
57gnutls 2.8.6 gnutls_openpgp_crt_print(3)