Debian Codegraph @

doc/functions/gnutls_ocsp_req_set_nonce

raw
1
2
3
4
5 @deftypefun {int} {gnutls_ocsp_req_set_nonce} (gnutls_ocsp_req_t @var{req}, unsigned int @var{critical}, const gnutls_datum_t * @var{nonce})
6 @var{req}: should contain a @code{gnutls_ocsp_req_t} type
7
8 @var{critical}: critical flag, normally false.
9
10 @var{nonce}: the nonce data
11
12 This function will add an nonce extension to the OCSP request.
13 Calling this function multiple times will overwrite values from
14 earlier calls.
15
16 @strong{Returns:} On success, @code{GNUTLS_E_SUCCESS} (0) is returned, otherwise a
17 negative error code is returned.
18 @end deftypefun