Blame doc/functions/gnutls_ocsp_req_print
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@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})
|
|
Packit Service |
4684c1 |
@var{req}: The data to be printed
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@var{format}: Indicate the format to use
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@var{out}: Newly allocated datum with (0) terminated string.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
This function will pretty print a OCSP request, suitable for
|
|
Packit Service |
4684c1 |
display to a human.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
If the format is @code{GNUTLS_OCSP_PRINT_FULL} then all fields of the
|
|
Packit Service |
4684c1 |
request will be output, on multiple lines.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
The output @code{out} ->data needs to be deallocate using @code{gnutls_free()} .
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@strong{Returns:} On success, @code{GNUTLS_E_SUCCESS} (0) is returned, otherwise a
|
|
Packit Service |
4684c1 |
negative error value.
|
|
Packit Service |
4684c1 |
@end deftypefun
|