1gnutls_ocsp_resp_print(3) gnutls gnutls_ocsp_resp_print(3)
2
3
4
6 gnutls_ocsp_resp_print - API function
7
9 #include <gnutls/ocsp.h>
10
11 int gnutls_ocsp_resp_print(gnutls_ocsp_resp_const_t resp,
12 gnutls_ocsp_print_formats_t format, gnutls_datum_t * out);
13
15 gnutls_ocsp_resp_const_t resp
16 The data to be printed
17
18 gnutls_ocsp_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 a OCSP response, suitable for display
26 to a human.
27
28 If the format is GNUTLS_OCSP_PRINT_FULL then all fields of the response
29 will be output, on multiple lines.
30
31 The output out ->data needs to be deallocate using gnutls_free().
32
34 On success, GNUTLS_E_SUCCESS (0) is returned, otherwise a negative er‐
35 ror value.
36
38 Report bugs to <bugs@gnutls.org>.
39 Home page: https://www.gnutls.org
40
41
43 Copyright © 2001- Free Software Foundation, Inc., and others.
44 Copying and distribution of this file, with or without modification,
45 are permitted in any medium without royalty provided the copyright no‐
46 tice and this notice are preserved.
47
49 The full documentation for gnutls is maintained as a Texinfo manual.
50 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
51 visit
52
53 https://www.gnutls.org/manual/
54
55gnutls 3.7.2 gnutls_ocsp_resp_print(3)