1gnutls_rehandshake(3) gnutls gnutls_rehandshake(3)
2
3
4
6 gnutls_rehandshake - This function will renegotiate security parameters
7
9 #include <gnutls/gnutls.h>
10
11 int gnutls_rehandshake(gnutls_session_t session);
12
14 gnutls_session_t session
15 is a gnutls_session_t structure.
16
18 This function will renegotiate security parameters with the client.
19 This should only be called in case of a server.
20
21 This message informs the peer that we want to renegotiate parameters
22 (perform a handshake).
23
24 If this function succeeds (returns 0), you must call the gnutls_hand‐
25 shake() function in order to negotiate the new parameters.
26
27 If the client does not wish to renegotiate parameters he will should
28 with an alert message, thus the return code will be GNUTLS_E_WARN‐
29 ING_ALERT_RECEIVED and the alert will be GNUTLS_A_NO_RENEGOTIATION. A
30 client may also choose to ignore this message.
31
33 Report bugs to <bug-gnutls@gnu.org>.
34
36 Copyright © 2006 Free Software Foundation.
37 Permission is granted to make and distribute verbatim copies of this
38 manual provided the copyright notice and this permission notice are
39 preserved on all copies.
40
42 The full documentation for gnutls is maintained as a Texinfo manual.
43 If the info and gnutls programs are properly installed at your site,
44 the command
45
46 info gnutls
47
48 should give you access to the complete manual.
49
50
51
52gnutls 1.6.3 gnutls_rehandshake(3)