gnutls_sign_algorithm_get(3)

πŸ’– gnutls_sign_algorithm_get πŸ’–

okay bestie, welcome to the gnutls manual, page gnutls_sign_algorithm_get(3). it's a little one but it's important, so grab a boba and let's go πŸ§‹βœ¨


🌸 NAME 🌸

gnutls_sign_algorithm_get β€” it's an API function, and it's here to tell you what's signing your stuff πŸ‘‘


✨ SYNOPSIS ✨

#include <gnutls/gnutls.h>

int gnutls_sign_algorithm_get(gnutls_session_t session);

πŸŽ€ ARGUMENTS πŸŽ€

  • gnutls_session_t session β€” bestie. it's a gnutls_session_t type. that's the whole vibe of this argument, it is literally just your session 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

so this function returns the signature algorithm that is (or like, will be πŸ‘€) used in this session by the server to sign data. future tense because sometimes it's not locked in yet, and we're just peeking ahead, no cap.

heads up: use this one only with TLS 1.2 or later. anything older is not invited to this party πŸ’€

🌈 RETURNS 🌈

it gives you back the sign algorithm β€” or, if it has no idea, GNUTLS_SIGN_UNKNOWN. that's it, that's the whole return. iconic.


⭐ SINCE ⭐

3.1.1 β€” she's been around a minute, a real OG πŸ’…


πŸ™ˆ REPORTING BUGS πŸ™ˆ

found a bug? don't be shy, tell the devs, they wanna know 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.

(translation: you can copy and share this file, any medium, no royalty needed β€” just keep the copyright notice and this notice with it. slay, and legally correct πŸ’–)


πŸ’œ 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/


and that's the page bestie!! πŸŽ€ this was gnutls version 3.8.13, page gnutls_sign_algorithm_get(3) β€” go forth and check your sign algorithms, mwah πŸ’‹πŸ¦‹βœ¨

πŸ“¦ where this page comes from