gnutls_x509_crl_verify(3)
β¨ gnutls_x509_crl_verify β¨
okay bestie so this one lives in the gnutls manual, and it's literally the glow-up check for a CRL π
πΈ NAME πΈ
gnutls_x509_crl_verify β it's an API function, no cap π
π¦ SYNOPSIS π¦
#include <gnutls/x509.h>
int gnutls_x509_crl_verify(gnutls_x509_crl_t crl, const
gnutls_x509_crt_t * trusted_cas, unsigned tcas_size, unsigned int flags,
unsigned int * verify);
π ARGUMENTS π
gnutls_x509_crl_t crlβ this is the crl we're verifying, the main character of the whole operation πconst gnutls_x509_crt_t * trusted_casβ a certificate list that is considered to be trusted one. the trusted squad, the ones we actually believe π«Άunsigned tcas_sizeβ holds the number of CA certificates inCA_listπΈunsigned int flagsβ flags that may be used to change the verification algorithm. Use OR of thegnutls_certificate_verify_flagsenumerations. so like, you stack them with|and they vibe together β¨unsigned int * verifyβ will hold the crl verification output. it's a pointer, so the function writes the tea back into it π
π DESCRIPTION π
This function will try to verify the given crl and return its verification status. See gnutls_x509_crt_list_verify() for a detailed description of return values. Note that since GnuTLS 3.1.4 this function includes the time checks. β° (yes bestie, it's checking the clock too, iconic behaviour)
Note that value in verify is set only when the return value of this function is success (i.e, failure to trust a CRL a certificate does not imply a negative return value). so like β do not assume a bad verify means a bad return code, they're separate situations fr fr π
Before GnuTLS 3.5.7 this function would return zero or a positive number on success. that's old news now but iykyk π
β RETURNS β
On success, GNUTLS_E_SUCCESS (0), otherwise a negative error value. slay when it's 0, crying when it's negative π
π REPORTING BUGS π
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.
π§ 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, no notes π this was gnutls version 3.8.13, courtesy of the gnutls crew β go forth and verify those CRLs, you absolute legend π¦β¨π
π¦ 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