GNUTLS_X509_TLSFEATURES_CHECK_CRT(3)
β¨ gnutls_x509_tlsfeatures_check_crt β¨
okay bestie, welcome to the gnutls manual β yes that's the manual name, we're in the gnutls house now π π This one's an API function, so it's giving library-girl energy, not command-line-girl energy. Still iconic tho.
πΈ NAME πΈ
gnutls_x509_tlsfeatures_check_crt β literally just an API function, that's the whole vibe π
π SYNOPSIS π
#include <gnutls/x509.h>
unsigned gnutls_x509_tlsfeatures_check_crt(gnutls_x509_tlsfeatures_t
feat, gnutls_x509_crt_t cert);
like. she's a function. she takes two things. she returns an unsigned. no cap. π¦
π ARGUMENTS π
gnutls_x509_tlsfeatures_t featβ a whole set of TLSFeatures, like a little squad of features π«Άgnutls_x509_crt_t certβ the certificate that's getting checked, she's the one on trial bestie π
π DESCRIPTION π
so what this function DOES, fr fr: it takes that certificate you handed it and checks it against the TLSFeatures set living in feat, and it does that using the RFC7633 p.4.2.2 rules. (yes, an actual RFC, an actual page number, we stay precise here π)
and the check itself? it's checking whether the certificate contains the features in feat β or a superset of them. so like, extra features are fine, she's flexible, she just needs at least everything in feat to show up. periodt. β¨
β RETURNS β
- non-zero if the certificate you provided complies π
- zero otherwise π
that's it, that's the whole verdict. no in-between, no "it's complicated".
π¦ SINCE π¦
3.5.1 β she's been around a minute, lowkey a veteran ποΈ
π REPORTING BUGS π
found a bug? don't be shy, 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. (so yes, you may copy her, she's generous like that π)
π₯ 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, click it. it's right there. iykyk πβ¨
and that's the whole page bestie!! this little legend comes to you from gnutls 3.8.13 β mwah, go forth and check those certificates, you ate π ππ¦π
π¦ 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