gnutls_x509_crt_set_flags(3)

✨ gnutls_x509_crt_set_flags(3) ✨

okay bestie, welcome to the gnutls manual πŸ’– this is the page for gnutls_x509_crt_set_flags(3) and we're gonna make it make sense, no cap.


πŸŽ€ NAME πŸŽ€

gnutls_x509_crt_set_flags β€” it's an API function, and it does exactly what it says on the tin: it sets flags on a cert. iconic behaviour honestly.


🌸 SYNOPSIS 🌸

#include <gnutls/x509.h>

void gnutls_x509_crt_set_flags(gnutls_x509_crt_t cert, unsigned int
flags);

like yes it's void, it returns nothing, don't @ me, that's just how she is πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • gnutls_x509_crt_t cert β€” a type gnutls_x509_crt_t. that's your cert, your main character, the whole reason we're here 🫢
  • unsigned int flags β€” the flags, and they come from the gnutls_x509_crt_flags. yes, she brought friends.

πŸ’œ DESCRIPTION πŸ’œ

so this function sets flags for the specified certificate. that's the whole vibe.

rn, the one that actually does something for you is GNUTLS_X509_CRT_FLAG_IGNORE_SANITY β€” and the way that one works is it lets you import certificates even if they have known issues. like, cert's a little messy? known problems? doesn't matter, we're letting her in anyway 😭✨


⭐ SINCE ⭐

3.6.0 β€” so she's been around a minute, she's not new here, show some respect πŸ‘‘


πŸ› REPORTING BUGS πŸ›

found a bug? do NOT suffer in silence bestie, tell the people:


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. slay, free as in freedom, we love to see it 🌈


πŸ‘€ 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 whole page, bestie πŸŽ€ gnutls 3.8.13, gnutls_x509_crt_set_flags(3) β€” go forth, set your flags, ignore that sanity, and stay hydrated πŸ’–βœ¨πŸ¦‹

πŸ“¦ where this page comes from