gnutls_x509_privkey_sec_param(3)

✨ gnutls_x509_privkey_sec_param ✨

okay bestie, sit down, because we're doing a gnutls manpage together and it's from the gnutls manual, section 3 πŸ’–


🌸 NAME 🌸

gnutls_x509_privkey_sec_param β€” it's an API function, no cap, that's literally its whole job title


πŸŽ€ SYNOPSIS πŸŽ€

#include <gnutls/x509.h>

gnutls_sec_param_t gnutls_x509_privkey_sec_param(gnutls_x509_privkey_t
key);

like. look at her. one include, one function, zero drama πŸ¦‹


πŸ’… ARGUMENTS πŸ’…

  • gnutls_x509_privkey_t key β€” bestie this is just a key. that's it. that's the whole argument. she's a private key and she's the main character here πŸ‘‘

πŸ’– DESCRIPTION πŸ’–

so the way this works is: this function will return the security parameter appropriate with this private key. that's the tea. you hand her a key, she tells you what security level that key is giving. vibe check for cryptography fr fr πŸ”₯


⭐ RETURNS ⭐

On success, a valid security parameter is returned. otherwise? GNUTLS_SEC_PARAM_UNKNOWN gets returned 😭 so if you see that, it's giving "idk her" energy πŸ’€


🧚 SINCE 🧚

2.12.0 β€” an elder. iconic behavior. she's been here since forever and she ate 🌈


πŸ™ˆ REPORTING BUGS πŸ™ˆ

found a bug? don't suffer in silence bestie, tell the people:

Report bugs to <bugs@gnutls.org>.

Home page: https://www.gnutls.org


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: keep the receipt, keep the notice, and you're golden πŸ’œ

🌈 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/

like, go read it, it's right there 🫢


and that's the whole page, bestie!! this one shipped as part of gnutls 3.8.13, and it's filed under the name gnutls_x509_privkey_sec_param(3) β€” mwah, go forth and check your key's security param πŸ’…βœ¨πŸ“

πŸ“¦ where this page comes from