Blame doc/functions/gnutls_ocsp_resp_get_nonce

Packit aea12f
Packit aea12f
Packit aea12f
Packit aea12f
Packit Service 991b93
@deftypefun {int} {gnutls_ocsp_resp_get_nonce} (gnutls_ocsp_resp_const_t @var{resp}, unsigned int * @var{critical}, gnutls_datum_t * @var{nonce})
Packit aea12f
@var{resp}: should contain a @code{gnutls_ocsp_resp_t}  type
Packit aea12f
Packit aea12f
@var{critical}: whether nonce extension is marked critical
Packit aea12f
Packit aea12f
@var{nonce}: will hold newly allocated buffer with nonce data
Packit aea12f
Packit aea12f
This function will return the Basic OCSP Response nonce extension
Packit aea12f
data.
Packit aea12f
Packit aea12f
The caller needs to deallocate memory by calling @code{gnutls_free()}  on
Packit aea12f
 @code{nonce} ->data.
Packit aea12f
Packit aea12f
@strong{Returns:} On success, @code{GNUTLS_E_SUCCESS}  (0) is returned, otherwise a
Packit aea12f
negative error code is returned.
Packit aea12f
@end deftypefun