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 type.
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 cb‐
30 type is unsupported, GNUTLS_E_CHANNEL_BINDING_NOT_AVAILABLE if the data
31 is not currently available, or an error code.
32
34 2.12.0
35
37 Report bugs to <bugs@gnutls.org>.
38 Home page: https://www.gnutls.org
39
40
42 Copyright © 2001- Free Software Foundation, Inc., and others.
43 Copying and distribution of this file, with or without modification,
44 are permitted in any medium without royalty provided the copyright no‐
45 tice and this notice are preserved.
46
48 The full documentation for gnutls is maintained as a Texinfo manual.
49 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
50 visit
51
52 https://www.gnutls.org/manual/
53
54gnutls 3.7.2 gnutls_session_channel_binding(3)