summaryrefslogtreecommitdiffstats
path: root/doc/functions/gnutls_srtp_get_mki
diff options
context:
space:
mode:
Diffstat (limited to 'doc/functions/gnutls_srtp_get_mki')
-rw-r--r--doc/functions/gnutls_srtp_get_mki18
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/functions/gnutls_srtp_get_mki b/doc/functions/gnutls_srtp_get_mki
new file mode 100644
index 0000000..8e7acc0
--- /dev/null
+++ b/doc/functions/gnutls_srtp_get_mki
@@ -0,0 +1,18 @@
+
+
+
+
+@deftypefun {int} {gnutls_srtp_get_mki} (gnutls_session_t @var{session}, gnutls_datum_t * @var{mki})
+@var{session}: is a @code{gnutls_session_t} type.
+
+@var{mki}: will hold the MKI
+
+This function exports the negotiated Master Key Identifier,
+received by the peer if any. The returned value in @code{mki} should be
+treated as constant and valid only during the session's lifetime.
+
+@strong{Returns:} On success, @code{GNUTLS_E_SUCCESS} (0) is returned,
+otherwise a negative error code is returned.
+
+Since 3.1.4
+@end deftypefun