1gnutls_certificate_server_set_requestg(n3ug)tnlustls_certificate_server_set_request(3)
2
3
4
6 gnutls_certificate_server_set_request - Used to set whether to request
7 a client certificate
8
10 #include <gnutls/gnutls.h>
11
12 void gnutls_certificate_server_set_request(gnutls_session_t session,
13 gnutls_certificate_request_t req);
14
16 gnutls_session_t session
17 is an gnutls_session_t structure.
18
19 gnutls_certificate_request_t req
20 is one of GNUTLS_CERT_REQUEST, GNUTLS_CERT_REQUIRE
21
23 This function specifies if we (in case of a server) are going to send a
24 certificate request message to the client. If req is
25 GNUTLS_CERT_REQUIRE then the server will return an error if the peer
26 does not provide a certificate. If you do not call this function then
27 the client will not be asked to send a certificate.
28
30 Report bugs to <bug-gnutls@gnu.org>.
31
33 Copyright © 2006 Free Software Foundation.
34 Permission is granted to make and distribute verbatim copies of this
35 manual provided the copyright notice and this permission notice are
36 preserved on all copies.
37
39 The full documentation for gnutls is maintained as a Texinfo manual.
40 If the info and gnutls programs are properly installed at your site,
41 the command
42
43 info gnutls
44
45 should give you access to the complete manual.
46
47
48
49gnutls 1.g6n.u3tls_certificate_server_set_request(3)