gnutls_x509_crl_dist_points_get(3)
π gnutls_x509_crl_dist_points_get β the API function β¨
okay so bestie, this page lives in the gnutls manual (that's the manual name, if you were wondering π«Ά) and it's all about pulling CRL distribution points out of a certificate-ish thing, one at a time, like you're scrolling a very specific list. let's go π
β¨ SYNOPSIS β¨
#include <gnutls/x509-ext.h>
int gnutls_x509_crl_dist_points_get(gnutls_x509_crl_dist_points_t cdp,
unsigned int seq, unsigned int * type, gnutls_datum_t * san, unsigned
int * reasons);
yes she takes five arguments, no she is not sorry about it πΈ
π ARGUMENTS π
gnutls_x509_crl_dist_points_t cdpβ the CRL distribution points. like, the actual container we're reading from, the main character of this whole operation πunsigned int seqβ which one do you want, bestie? the sequence number of the distribution point.0gets you the first one,1gets you the second, etc. counting starts at zero, as all good things do πunsigned int * typeβ the name type of the corresponding name, and it's agnutls_x509_subject_alt_name_tvalue. so she's telling you what kind of name you just got π¦unsigned int * reasonsβ the revocation reasons. it's an ORed sequence of flags fromgnutls_x509_crl_reason_flags_t, so like, stack 'em up π«
π DESCRIPTION π
this function retrieves the individual CRL distribution points (OID 2.5.29.31, iykyk) that are contained in the provided type. that's it. that's the function. she gets you the goods β¨
β RETURNS β
- on success, you get
GNUTLS_E_SUCCESS(which is0, slay) - if your index is out of bounds, it's giving
GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLEπ - otherwise, you get a negative error value. not ideal, but at least she tells you π
π REPORTING BUGS π
found a bug? don't suffer in silence, report it 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/
ngl, that's the whole page. no cap π
and that's a wrap, bestie β this was gnutls version 3.8.13, page gnutls_x509_crl_dist_points_get(3), 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