gnutls_x509_crl_dist_points_set(3)
β¨ gnutls_x509_crl_dist_points_set(3) β¨
okay bestie, we're in the gnutls manual, and today's main character is a little function called gnutls_x509_crl_dist_points_set. it's giving certificate-nerd, it's giving CRL distribution points, and honestly? it's kinda iconic. let's get into it π
πΈ NAME πΈ
gnutls_x509_crl_dist_points_set β API function
no cap, that's the whole name. short, sweet, does exactly one thing. periodt.
π¦ SYNOPSIS π¦
#include <gnutls/x509-ext.h>
int gnutls_x509_crl_dist_points_set(gnutls_x509_crl_dist_points_t cdp,
gnutls_x509_subject_alt_name_t type, const gnutls_datum_t * san,
unsigned int reasons);
so you gotta pull in <gnutls/x509-ext.h> first β don't forget it, she's essential, she's the vibe β¨
π ARGUMENTS π
gnutls_x509_crl_dist_points_t cdpβ the CRL distribution points themselves. this is the thing you're stuffing data into, your little container of destinies π«gnutls_x509_subject_alt_name_t typeβ the type of the name (ofgnutls_subject_alt_names_t). yes girl, that's literally what it says, the type of the name πconst gnutls_datum_t * sanβ the point name data. the actual name bits go here.unsigned int reasonsβ revocation reasons. this one's an ORed sequence of flags fromgnutls_x509_crl_reason_flags_t, so you're stacking flags together with ORs, like friendship bracelets but for revocation reasons π«Ά
π DESCRIPTION π
This function will store the specified CRL distribution point value the cdp type.
that's it. that's the whole job. she takes your distribution point and she puts it in the cdp thing. lowkey simple, highkey useful π
β RETURNS β
On success, GNUTLS_E_SUCCESS (0), otherwise a negative error value.
so like β zero means you ate and left no crumbs π. anything negative? that's a "not me getting an error" moment, and you should go check what went wrong π
π§ SINCE π§
3.3.0
she's been around since 3.3.0, so she's a seasoned queen, not a new girl on the block π
π REPORTING BUGS π
Report bugs to <bugs@gnutls.org>. Home page: https://www.gnutls.org
found a bug? don't just scream into the void, bestie. email the nice people at bugs@gnutls.org and also peek the home page at 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 basically: you can copy and share this file, change it or not, in any medium, no royalty needed β just keep the copyright notice and this notice intact. respect the elders, keep the receipts π«‘β¨
π 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/
like, if the HTML version isn't chilling in /usr/share/doc/gnutls/, just go straight to https://www.gnutls.org/manual/ β the full Texinfo manual is where all the lore lives ππ«
and that's the whole page, bestie!! this was gnutls version 3.8.13, and the page itself is gnutls_x509_crl_dist_points_set(3) β go forth and set those CRL distribution points, 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