Debian Codegraph @

doc/functions/gnutls_ocsp_req_print

raw
1
2
3
4
5 @deftypefun {int} {gnutls_ocsp_req_print} (gnutls_ocsp_req_const_t @var{req}, gnutls_ocsp_print_formats_t @var{format}, gnutls_datum_t * @var{out})
6 @var{req}: The data to be printed
7
8 @var{format}: Indicate the format to use
9
10 @var{out}: Newly allocated datum with (0) terminated string.
11
12 This function will pretty print a OCSP request, suitable for
13 display to a human.
14
15 If the format is @code{GNUTLS_OCSP_PRINT_FULL} then all fields of the
16 request will be output, on multiple lines.
17
18 The output @code{out} ->data needs to be deallocate using @code{gnutls_free()} .
19
20 @strong{Returns:} On success, @code{GNUTLS_E_SUCCESS} (0) is returned, otherwise a
21 negative error value.
22 @end deftypefun