gnutls_cipher_get(3)

πŸ’– gnutls_cipher_get(3) πŸ’–

okay bestie, welcome to the gnutls manual, section 3, and today's main character is gnutls_cipher_get. she's lowkey tiny but she's iconic, let's get into it ✨


🌸 NAME 🌸

gnutls_cipher_get β€” an API function, and yes that's literally her whole job description πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <gnutls/gnutls.h>

gnutls_cipher_algorithm_t gnutls_cipher_get(gnutls_session_t session);

like. look at her. one include, one function, zero drama πŸ’…


🌈 ARGUMENTS 🌈

  • gnutls_session_t session β€” bestie this is a gnutls_session_t type. that's the whole vibe of this argument, no notes πŸ™ˆ

✨ DESCRIPTION ✨

Get the currently used cipher. that's it. that's the function. she tells you which cipher your session is currently vibing with πŸ”₯


πŸ‘‘ RETURNS πŸ‘‘

the currently used cipher, which comes back as a gnutls_cipher_algorithm_t type. so you get the algorithm, packaged cute, ready for you to match on 🫢


πŸ’€ REPORTING BUGS πŸ’€

found a bug? not me gatekeeping, go tell the devs fr fr:


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.

periodt. that's the license, and it's giving generous πŸ’œ

⭐ 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, visit

https://www.gnutls.org/manual/

iykyk, the Texinfo manual is the full lore if you wanna go deeper πŸ“š


and that's the whole page, bestie!! this was gnutls version 3.8.13, brought to you by the gnutls girlies, no cap. go read your ciphers, slay, and remember: the vibe check is just gnutls_cipher_get. mwah πŸ’…πŸ’–πŸŒΈ

πŸ“¦ where this page comes from