gnutls_privkey_set_flags(3)
π gnutls_privkey_set_flags(3) π
okay bestie, welcome to the gnutls corner of the manual, this one's a lil function called gnutls_privkey_set_flags and it's genuinely so simple it's giving "one-line slay" energy β¨
πΈ NAME πΈ
gnutls_privkey_set_flags β it's an API function, no cap π
β¨ SYNOPSIS β¨
#include <gnutls/abstract.h>
void gnutls_privkey_set_flags(gnutls_privkey_t key, unsigned int flags);
look at her. two args. returns nothing. icon behaviour fr fr π
π¦ ARGUMENTS π¦
gnutls_privkey_t keyβ a key of typegnutls_privkey_t, aka the private key you're about to give a lil glow-up β¨unsigned int flagsβ the flags, straight from thegnutls_privkey_flagslist. pick your vibe, but pick from that list bestie π«Ά
π DESCRIPTION π
so basically? this function sets flags for the private key you already have, after it's been generated. it's not a build-a-key situation, it's a customize-the-key-you-already-have situation π
and right now, the one thing it's actually useful for is GNUTLS_PRIVKEY_FLAG_EXPORT_COMPAT, which lets you export a "provable" private key in a backwards compatible way. that's the whole flex. that's it. obsessed tbh π
β SINCE β
3.5.0 β so it's been around a minute, it's a classic π
π REPORTING BUGS π
found a bug? don't suffer in silence, tell the devs:
- Report bugs to <bugs@gnutls.org>.
- Home page: https://www.gnutls.org
π 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. (yes really, go off, redistribute responsibly π)
π 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/
ngl that's the entire page bestie, short and sweet, main character energy with zero filler π
k bye, this was gnutls version 3.8.13 bringing you gnutls_privkey_set_flags(3), mwah, go set some flags π«Άβ¨π
π¦ 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