gnutls_x509_cr...hibit_anypolicy(3)
β¨ gnutls_x509_cr...hibit_anypolicy(3) β¨
okay bestie, we're in the gnutls manual and today's main character is gnutls_x509_crt_set_inhibit_anypolicy π
buckle up, it's a short one but she EATS.
π NAME π
gnutls_x509_crt_set_inhibit_anypolicy β an API function, periodt. that's the whole name section, she's lowkey mysterious like that π¦
πΈ SYNOPSIS πΈ
#include <gnutls/x509.h>
int gnutls_x509_crt_set_inhibit_anypolicy(gnutls_x509_crt_t crt,
unsigned int skipcerts);
like. the vibes are immaculate. one include, one function, two args. we love a clean signature π
π«Ά ARGUMENTS π«Ά
gnutls_x509_crt_t crtβ a certificate of typegnutls_x509_crt_t. yes bestie, that's the exact same type name twice in one sentence, that's just how the family rolls, iykyk πunsigned int skipcertsβ the number of certificates after which anypolicy is no longer acceptable. so basically: how many more hops down the chain before anypolicy stops being invited to the party π
π DESCRIPTION π
okay so here's the tea: this function will set the Inhibit anyPolicy certificate extension β¨ that's it. that's the whole description. she's concise, she's confident, she knows what she's about π
no cap, sometimes the shortest descriptions are the most iconic.
π RETURNS π
on success, GNUTLS_E_SUCCESS (0) is returned π₯³ otherwise you get a negative error value, which is the code equivalent of "not me, not today" π
reminder bestie: negative value = something went wrong, so always check that return, fr fr π
π REPORTING BUGS π
found a bug? don't be shy, report it to <bugs@gnutls.org> β the maintainers want to hear about it π«Ά
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. so like, 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, visit:
https://www.gnutls.org/manual/
and that's the whole page, you ate that π this was page gnutls_x509_cr...hibit_anypolicy(3) from the gnutls manual, version 3.8.13 β go forth and inhibit anypolicy responsibly, mwah πβ¨
π¦ 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