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 structures 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
36 error value.
37
39 Report bugs to <bugs@gnutls.org>.
40 Home page: http://www.gnutls.org
41
42
44 Copyright © 2001-2014 Free Software Foundation, Inc..
45 Copying and distribution of this file, with or without modification,
46 are permitted in any medium without royalty provided the copyright
47 notice 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 http://www.gnutls.org/manual/
55
56gnutls 3.3.29 gnutls_x509_ext_print(3)