gnutls_x509_crl_set_number(3)
β¨ gnutls_x509_crl_set_number β¨
okay so bestie, we're deep in the gnutls manual rn and this lil function is literally the moment you give a CRL its own special little number π if you've ever wondered "who decides what number this revocation list is" β surprise, it's you. welcome to your main character era π
πΈ NAME πΈ
gnutls_x509_crl_set_number β API function. that's it, that's the name, no notes π
π¦ SYNOPSIS π¦
#include <gnutls/x509.h>
int gnutls_x509_crl_set_number(gnutls_x509_crl_t crl, const void * nr,
size_t nr_size);
look at that signature. so clean. so iconic. β¨
π ARGUMENTS π
gnutls_x509_crl_t crlβ a CRL of typegnutls_x509_crl_t. yes, it's the thing you're editing, she's the star of the show π«Άconst void * nrβ The CRL number. this is the actual number bestie, sitting there as avoid *because gnutls said "we're flexible" πsize_t nr_sizeβ Holds the size of thenrfield. like, how many bytes is your number. measure twice, cut once fr fr π
π DESCRIPTION π
This function will set the CRL's number extension. the way that it exists purely so the authority can slap a unique and monotonic number on each CRL π
so like β unique meaning no two CRLs get the same number, and monotonic meaning it only ever goes up. new CRL drops, number goes higher. it's giving "chronological order but make it cryptography" π₯
β RETURNS β
On success, GNUTLS_E_SUCCESS (0) is returned. otherwise you get a negative error value and honestly? a negative vibe π check your return codes, bestie, don't leave her on read.
π§ SINCE π§
2.8.0 β she's been around a minute, lowkey a legend π
π REPORTING BUGS π
Report bugs to <bugs@gnutls.org>.
Home page: https://www.gnutls.org
(if something's broken, tell them, don't just suffer in silence π«Ά)
π 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, no cap π this was the gnutls manual, version 3.8.13, page gnutls_x509_crl_set_number(3) β go forth and number your CRLs 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