1gnutls_x509_ext_print(3) gnutls gnutls_x509_ext_print(3)
2
3
4
6 gnutls_x509_ext_print - API function
7
9 #include <gnutls/x509.h>
10
11 int gnutls_x509_ext_print(gnutls_x509_ext_st * exts, unsigned int
12 exts_size, gnutls_certificate_print_formats_t format, gnutls_datum_t *
13 out);
14
16 gnutls_x509_ext_st * exts
17 The data to be printed
18
19 unsigned int exts_size
20 the number of available structures
21
22 gnutls_certificate_print_formats_t format
23 Indicate the format to use
24
25 gnutls_datum_t * out
26 Newly allocated datum with null terminated string.
27
29 This function will pretty print X.509 certificate extensions, suitable
30 for display to a human.
31
32 The output out needs to be deallocated using gnutls_free().
33
35 On success, GNUTLS_E_SUCCESS (0) is returned, otherwise a negative er‐
36 ror value.
37
39 Report bugs to <bugs@gnutls.org>.
40 Home page: https://www.gnutls.org
41
42
44 Copyright © 2001-2023 Free Software Foundation, Inc., and others.
45 Copying and distribution of this file, with or without modification,
46 are permitted in any medium without royalty provided the copyright no‐
47 tice and this notice are preserved.
48
50 The full documentation for gnutls is maintained as a Texinfo manual.
51 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
52 visit
53
54 https://www.gnutls.org/manual/
55
56gnutls 3.8.2 gnutls_x509_ext_print(3)