gnutls_pkcs7_set_crl_raw(3)
π gnutls_pkcs7_set_crl_raw(3) π
okay bestie, so this one lives in the gnutls manual β it's the gnutls_pkcs7_set_crl_raw page and it's literally the glow-up your PKCS7 needs when you gotta slide a CRL in there. it's short, it's sweet, it's giving "tiny function, big responsibility". let's go π«Ά
β¨ NAME β¨
gnutls_pkcs7_set_crl_raw β it's an API function, periodt. no cap.
πΈ SYNOPSIS πΈ
#include <gnutls/pkcs7.h>
int gnutls_pkcs7_set_crl_raw(gnutls_pkcs7_t pkcs7, const gnutls_datum_t
* crl);
like yes, that's the whole vibe. include the header, call the function, slay π
π ARGUMENTS π
gnutls_pkcs7_t pkcs7β bestie this is the pkcs7 type. it's the thing you're adding to. the main character, if you will πconst gnutls_datum_t * crlβ and this is the DER encoded crl that's getting added. DER encoded, okay? not PEM, not vibes, DER. π
π¦ DESCRIPTION π¦
so the way that this works is: this function will add a crl to the PKCS7 or RFC2630 crl set. that's it. that's the whole function. it takes your crl and it puts it in the set. iconic behaviour honestly β
π RETURNS π
on success, GNUTLS_E_SUCCESS (0) is returned π β otherwise you get a negative error value, which is your sign that something is NOT slaying and you should go read up on your error codes. no cap, check it. π
π REPORTING BUGS π
found a bug? don't be shy, report it, we're all ears π«Ά
- 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 queen, keep the notice, it's the rules π )
π₯ 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/
iykyk β go read the manual, it's good for you π§
and that's the whole page bestie!! this one's from gnutls version 3.8.13, source gnutls, and it's gnutls_pkcs7_set_crl_raw(3) β go forth and add 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