1gnutls_session_set_finished_function(g3n)utglnsutls_session_set_finished_function(3)
2
3
4

NAME

6       gnutls_session_set_finished_function - API function
7

SYNOPSIS

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

ARGUMENTS

15       gnutls_session_t session
16                   is a gnutls_session_t structure.
17
18       gnutls_finished_callback_func func
19                   a gnutls_finished_callback_func callback.
20

DESCRIPTION

22       Register a callback function for the session that will be called when a
23       TLS  Finished  message  has  been generated.  The function is typically
24       used to copy away the TLS finished message for later use as  a  channel
25       binding or similar purpose.
26

THE CALLBACK SHOULD FOLLOW THIS PROTOTYPE

28       void  callback  (gnutls_session_t session, const void *finished, size_t
29       len);
30
31       The finished parameter will contain the binary  TLS  finished  message,
32       and  len  will  contains  its  length.   For SSLv3 connections, the len
33       parameter will be 36 and for TLS connections it will be 12.
34
35       It is recommended that the function returns quickly  in  order  to  not
36       delay  the handshake.  Use the function to store a copy of the TLS fin‐
37       ished message for later use.
38

SINCE

40       2.6.0
41

REPORTING BUGS

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

SEE ALSO

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