gnutls_srtp_get_mki(3)
π gnutls_srtp_get_mki β the glow-up edition π
okay bestie, welcome to the gnutls manual, specifically the page for gnutls_srtp_get_mki β and yes, it's an API function, and yes, it's lowkey iconic π
β¨ SYNOPSIS β¨
#include <gnutls/gnutls.h>
int gnutls_srtp_get_mki(gnutls_session_t session, gnutls_datum_t * mki);
πΈ ARGUMENTS πΈ
gnutls_session_t sessionβ bestie, this is agnutls_session_ttype. that's the whole vibe, that's what it is πgnutls_datum_t * mkiβ this lil guy is gonna hold the MKI. it's the container, it's doing the carrying π«Ά
π¦ DESCRIPTION π¦
so what does this function actually do? it exports the negotiated Master Key Identifier β the one that was received by the peer, if any. like, if the peer sent one, you get it. if not... well, you know how that goes π
β οΈ real talk though: the value returned in mki should be treated as constant and it's valid only during the session's lifetime. do NOT go storing that pointer somewhere cute and expecting it to still be alive later. it's giving "borrowed, not yours" energy. periodt π
π RETURNS π
on success? you get GNUTLS_E_SUCCESS (that's 0, the slay number β¨). otherwise you get a negative error code. no in-between, no gray area, we love a binary.
oh and fun fact: this has been around Since 3.1.4 β a true veteran, a legacy queen π
π REPORTING BUGS π
found a bug? don't be shy, tell the devs:
- report bugs to
<bugs@gnutls.org> - home page:
https://www.gnutls.org
they wanna hear from you fr fr π
π COPYRIGHT π
Copyright Β© 2001-2023 Free Software Foundation, Inc., and others.
Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved.
(translation: use it, share it, remix it, just keep the receipts π§Ύπ)
π SEE ALSO π
the full documentation for gnutls is maintained as a Texinfo manual. if the /usr/share/doc/gnutls/ directory does not contain the HTML form, go visit:
https://www.gnutls.org/manual/
that's the plug, that's the link, iykyk π
and that's the whole page, bestie!! this one comes to you from gnutls 3.8.13, and it's filed under gnutls_srtp_get_mki(3) in the manual β mki stands for Master Key Identifier, and now you know πβ¨ bye love u, go read your handshake state responsibly π¦π
π¦ where this page comes from
- alpine 3.22: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- alpine 3.23: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- alpine 3.24: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- arch rolling: gnutls 3.8.13-3 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 43: gnutls-devel 3.8.13-1.fc43 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 43: gnutls-devel 3.8.13-1.fc43 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 44: gnutls-devel 3.8.13-1.fc44 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 44: gnutls-devel 3.8.13-1.fc44 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- ubuntu stonking: gnutls-doc 3.8.13-1ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms