gnutls_x509_crl_list_import2(3)
π gnutls_x509_crl_list_import2 β the "turn a whole pile of CRLs into gnutls objects" function
okay bestie, sit down, hydrate, because this one lives in the gnutls manual and it's about importing a list of CRLs all at once instead of doing them one by one like a peasant. π
β¨ NAME β¨
gnutls_x509_crl_list_import2 β it's an API function, no cap. That's literally the whole name section, she's a minimalist. π
πΈ SYNOPSIS πΈ
#include <gnutls/x509.h>
int gnutls_x509_crl_list_import2(gnutls_x509_crl_t ** crls, unsigned int
* size, const gnutls_datum_t * data, gnutls_x509_crt_fmt_t format,
unsigned int flags);
look at her. five arguments. main character energy fr fr. β¨
π¦ ARGUMENTS π¦
gnutls_x509_crl_t ** crlsβ this lil pointer is gonna contain the parsed crl list when we're done. she comes home with a whole friend group. π«Άunsigned int * sizeβ and this one will contain the size of the list. it's the headcount. the attendance sheet. the "how many of y'all showed up" number. πconst gnutls_datum_t * dataβ the CRL data. the raw stuff. the actual content before the glow-up. πgnutls_x509_crt_fmt_t formatβ one of DER or PEM. pick your girl, you can't have both. πunsigned int flagsβ must be (0) or an OR'd sequence ofgnutls_certificate_import_flags. so either a flat zero, or you start OR-ing those import flags together. no random numbers, bestie, that's not the vibe. π
π DESCRIPTION π
This function will convert the given CRL list to the native gnutls_x509_crl_t format. Basically it takes your CRL list and makes it speak gnutls natively. β¨
The output will be stored in crls. And here's the cute part β they will be automatically initialized. you don't gotta do the setup, she comes pre-glow-up'd. ππ
If the Certificate is PEM encoded it should have a header of "X509 CRL". β periodt. no header, no entry. the header is the invite to the party and there's no plus-ones without it. π
β RETURNS β
It hands you back the number of certificates read β or, plot twist, a negative error value. π so if you get a negative number back, that's not a flex, that's a problem, check yourself. π
π« SINCE π«
3.0 β she's been iconic since 3.0. OG status. π
π₯ REPORTING BUGS π₯
Found a bug? Report bugs to <bugs@gnutls.org>. π
Home page: https://www.gnutls.org β go say hi, she doesn't bite. πΈ
π 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 bestie, you can copy it, just keep the receipts attached. respect the elders. π«Ά
π 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 β tragic, I know β visit
https://www.gnutls.org/manual/
she's got the whole lore over there, iykyk. πβ¨
and that's the whole page, bestie β gnutls manual, version 3.8.13, this page being gnutls_x509_crl_list_import2(3). go import those CRLs, you absolute icon. πππ¦ no cap.
π¦ 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