1gnutls_ocsp_status_request_enable_clgignenunutttl(ls3s_)ocsp_status_request_enable_client(3)
2
3
4
6 gnutls_ocsp_status_request_enable_client - API function
7
9 #include <gnutls/gnutls.h>
10
11 int gnutls_ocsp_status_request_enable_client(gnutls_session_t session,
12 gnutls_datum_t * responder_id, size_t responder_id_size, gnutls_datum_t
13 * extensions);
14
16 gnutls_session_t session
17 is a gnutls_session_t structure.
18
19 gnutls_datum_t * responder_id
20 array with gnutls_datum_t with DER data of responder id
21
22 size_t responder_id_size
23 number of members in responder_id array
24
25 gnutls_datum_t * extensions
26 a gnutls_datum_t with DER encoded OCSP extensions
27
29 This function is to be used by clients to request OCSP response from
30 the server, using the "status_request" TLS extension. Only OCSP status
31 type is supported.
32
33 The responder_id array, its containing elements as well as the data of
34 extensions , must be allocated using gnutls_malloc(). They will be
35 deinitialized on session cleanup.
36
37 Due to the difficult semantics of the responder_id and extensions
38 parameters, it is recommended to only call this function with these
39 parameters set to NULL.
40
42 On success, GNUTLS_E_SUCCESS [22m(0) is returned, otherwise a negative
43 error code is returned.
44
46 3.1.3
47
49 Report bugs to <bugs@gnutls.org>.
50 Home page: http://www.gnutls.org
51
52
54 Copyright © 2001-2014 Free Software Foundation, Inc..
55 Copying and distribution of this file, with or without modification,
56 are permitted in any medium without royalty provided the copyright
57 notice and this notice are preserved.
58
60 The full documentation for gnutls is maintained as a Texinfo manual.
61 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
62 visit
63
64 http://www.gnutls.org/manual/
65
66gnutls g3n.u3t.l2s9_ocsp_status_request_enable_client(3)