Blame doc/functions/gnutls_ocsp_req_get_nonce

Packit aea12f
Packit aea12f
Packit aea12f
Packit aea12f
Packit Service 991b93
@deftypefun {int} {gnutls_ocsp_req_get_nonce} (gnutls_ocsp_req_const_t @var{req}, unsigned int * @var{critical}, gnutls_datum_t * @var{nonce})
Packit aea12f
@var{req}: should contain a @code{gnutls_ocsp_req_t}  type
Packit aea12f
Packit aea12f
@var{critical}: whether nonce extension is marked critical, or NULL
Packit aea12f
Packit aea12f
@var{nonce}: will hold newly allocated buffer with nonce data
Packit aea12f
Packit aea12f
This function will return the OCSP request nonce extension 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