gnutls_privkey_verify_params(3)

πŸ’– gnutls_privkey_verify_params β€” the vibe check for your private key πŸ’–

okay bestie, so this is a page from the gnutls manual β€” section 3, the library-functions girlies β€” and today we're talking about gnutls_privkey_verify_params(3). she's short, she's sweet, she's the friend who checks your outfit before you leave the house. let's get into it. ✨


🌸 NAME 🌸

gnutls_privkey_verify_params β€” the API function that checks ur key's parameters, no cap


πŸŽ€ SYNOPSIS πŸŽ€

#include <gnutls/abstract.h>

int gnutls_privkey_verify_params(gnutls_privkey_t key);

πŸ¦‹ ARGUMENTS πŸ¦‹

  • gnutls_privkey_t key β€” this one's supposed to hold a gnutls_privkey_t type, like, that's her whole job. hand her the key and she'll do her thing 🫢

πŸ’… DESCRIPTION πŸ’…

so basically? this function will verify the private key parameters. that's it. that's the whole thing. she looks at ur key, she checks the parameters, she tells u if everything's giving what it's supposed to give. main character energy, minimal drama. πŸ’–


πŸ”₯ RETURNS πŸ”₯

if everything's slaying, you get GNUTLS_E_SUCCESS β€” which is literally just 0 β€” returned to you like a lil gift 🎁

otherwise? negative error value. sad girl hours. 😭 but at least now you know.


⭐ SINCE ⭐

3.3.0 β€” she's been iconic since day one, fr fr.


πŸ™ˆ REPORTING BUGS πŸ™ˆ

found a bug? don't gatekeep, tell the devs:


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 bestie 🧾✨)


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

like, the whole manual. it's a lot. but it's there for u. πŸ¦‹


and that's the whole page, bestie!! this was gnutls 3.8.13, page gnutls_privkey_verify_params(3) β€” go verify those parameters, u got this πŸ’œπŸŒΈβœ¨

πŸ“¦ where this page comes from