1gnutls_handshake_set_post_cligennutt_lhse_lhlgaonn_udftsulhnsacktei_osne(t3_)post_client_hello_function(3)
2
3
4

NAME

6       gnutls_handshake_set_post_client_hello_function - API function
7

SYNOPSIS

9       #include <gnutls/gnutls.h>
10
11       void   gnutls_handshake_set_post_client_hello_function(gnutls_session_t
12       session,                        gnutls_handshake_post_client_hello_func
13       func);
14

ARGUMENTS

16       gnutls_session_t session
17                   is a gnutls_session_t structure.
18
19       gnutls_handshake_post_client_hello_func
20       func
21                   is the function to be called
22

DESCRIPTION

24       This function will set a callback to be called after the  client  hello
25       has been received (callback valid in server side only). This allows the
26       server to adjust settings based on received extensions.
27
28       Those settings could be ciphersuites, requesting certificate,  or  any‐
29       thing  else  except  for  version  negotiation (this is done before the
30       hello message is parsed).
31
32       This callback must return 0 on success or a gnutls error code to termi‐
33       nate the handshake.
34

WARNING

36       You  should  not  use this function to terminate the handshake based on
37       client input unless you know what you are doing. Before  the  handshake
38       is  finished  there  is  no way to know if there is a man-in-the-middle
39       attack being performed.
40

REPORTING BUGS

42       Report   bugs   to    <bug-gnutls@gnu.org>.     GnuTLS    home    page:
43       http://www.gnu.org/software/gnutls/  General  help  using GNU software:
44       http://www.gnu.org/gethelp/
45
47       Copyright © 2008 Free Software Foundation.
48       Copying and distribution of this file, with  or  without  modification,
49       are  permitted  in  any  medium  without royalty provided the copyright
50       notice and this notice are preserved.
51

SEE ALSO

53       The full documentation for gnutls is maintained as  a  Texinfo  manual.
54       If  the  info  and gnutls programs are properly installed at your site,
55       the command
56
57              info gnutls
58
59       should give you access to the complete manual.
60
61
62
63gnutls                      gnutls_2h.a1n2d.s6h.a1ke_set_post_client_hello_function(3)
Impressum