summaryrefslogtreecommitdiffstats
path: root/doc/functions/gnutls_session_channel_binding
diff options
context:
space:
mode:
Diffstat (limited to 'doc/functions/gnutls_session_channel_binding')
-rw-r--r--doc/functions/gnutls_session_channel_binding21
1 files changed, 21 insertions, 0 deletions
diff --git a/doc/functions/gnutls_session_channel_binding b/doc/functions/gnutls_session_channel_binding
new file mode 100644
index 0000000..7f5ce20
--- /dev/null
+++ b/doc/functions/gnutls_session_channel_binding
@@ -0,0 +1,21 @@
+
+
+
+
+@deftypefun {int} {gnutls_session_channel_binding} (gnutls_session_t @var{session}, gnutls_channel_binding_t @var{cbtype}, gnutls_datum_t * @var{cb})
+@var{session}: is a @code{gnutls_session_t} type.
+
+@var{cbtype}: an @code{gnutls_channel_binding_t} enumeration type
+
+@var{cb}: output buffer array with data
+
+Extract given channel binding data of the @code{cbtype} (e.g.,
+@code{GNUTLS_CB_TLS_UNIQUE} ) type.
+
+@strong{Returns:} @code{GNUTLS_E_SUCCESS} on success,
+@code{GNUTLS_E_UNIMPLEMENTED_FEATURE} if the @code{cbtype} is unsupported,
+@code{GNUTLS_E_CHANNEL_BINDING_NOT_AVAILABLE} if the data is not
+currently available, or an error code.
+
+@strong{Since:} 2.12.0
+@end deftypefun