1gnutls_ocsp_req_set_nonce(3)        gnutls        gnutls_ocsp_req_set_nonce(3)
2
3
4

NAME

6       gnutls_ocsp_req_set_nonce - API function
7

SYNOPSIS

9       #include <gnutls/ocsp.h>
10
11       int gnutls_ocsp_req_set_nonce(gnutls_ocsp_req_t req, unsigned int crit‐
12       ical, const gnutls_datum_t * nonce);
13

ARGUMENTS

15       gnutls_ocsp_req_t req
16                   should contain a gnutls_ocsp_req_t type
17
18       unsigned int critical
19                   critical flag, normally false.
20
21       const gnutls_datum_t * nonce
22                   the nonce data
23

DESCRIPTION

25       This function will add an nonce extension to the OCSP request.  Calling
26       this function multiple times will overwrite values from earlier calls.
27

RETURNS

29       On  success,  GNUTLS_E_SUCCESS  (0)  is  returned, otherwise a negative
30       error code is returned.
31

REPORTING BUGS

33       Report bugs to <bugs@gnutls.org>.
34       Home page: https://www.gnutls.org
35
36
38       Copyright © 2001-2019 Free Software Foundation, Inc., and others.
39       Copying and distribution of this file, with  or  without  modification,
40       are  permitted  in  any  medium  without royalty provided the copyright
41       notice and this notice are preserved.
42

SEE ALSO

44       The full documentation for gnutls is maintained as  a  Texinfo  manual.
45       If  the /usr/share/doc/gnutls/ directory does not contain the HTML form
46       visit
47
48       https://www.gnutls.org/manual/
49
50gnutls                               3.6.7        gnutls_ocsp_req_set_nonce(3)
Impressum