1gnutls_session_channel_binding(3) gnutls gnutls_session_channel_binding(3)
2
3
4
6 gnutls_session_channel_binding - API function
7
9 #include <gnutls/gnutls.h>
10
11 int gnutls_session_channel_binding(gnutls_session_t session,
12 gnutls_channel_binding_t cbtype, gnutls_datum_t * cb);
13
15 gnutls_session_t session
16 is a gnutls_session_t structure.
17
18 gnutls_channel_binding_t cbtype
19 an gnutls_channel_binding_t enumeration type
20
21 gnutls_datum_t * cb
22 output buffer array with data
23
25 Extract given channel binding data of the cbtype (e.g.,
26 GNUTLS_CB_TLS_UNIQUE) type.
27
29 GNUTLS_E_SUCCESS on success, GNUTLS_E_UNIMPLEMENTED_FEATURE if the
30 cbtype is unsupported, GNUTLS_E_CHANNEL_BINDING_NOT_AVAILABLE if the
31 data is not currently available, or an error code.
32
34 2.12.0
35
37 Report bugs to <bug-gnutls@gnu.org>. GnuTLS home page:
38 http://www.gnu.org/software/gnutls/ General help using GNU software:
39 http://www.gnu.org/gethelp/
40
42 Copyright © 2008 Free Software Foundation.
43 Copying and distribution of this file, with or without modification,
44 are permitted in any medium without royalty provided the copyright
45 notice and this notice are preserved.
46
48 The full documentation for gnutls is maintained as a Texinfo manual.
49 If the info and gnutls programs are properly installed at your site,
50 the command
51
52 info gnutls
53
54 should give you access to the complete manual.
55
56
57
58gnutls 2.12.6.1 gnutls_session_channel_binding(3)