GNUTLS_X509_EXT_IMPORT_CRL_DIST_POINTS(3)
π gnutls_x509_ext_import_crl_dist_points β the API function, bestie π
okay so real quick, this page lives in the gnutls manual (section 3, the library functions section, iykyk), and it's all about one lil function that goes and pulls the CRL distribution points out of a blob of DER. slay. let's get into it π
β¨ NAME β¨
gnutls_x509_ext_import_crl_dist_points β it's an API function, periodt.
πΈ SYNOPSIS πΈ
#include <gnutls/x509-ext.h>
int gnutls_x509_ext_import_crl_dist_points(const gnutls_datum_t * ext,
gnutls_x509_crl_dist_points_t cdp, unsigned int flags);
like yes, that's the whole vibe. three args, one int coming back at you π
π¦ ARGUMENTS π¦
const gnutls_datum_t * extβ bestie this is the DER encoded extension data. the raw bytes. the moment. that's what you're handing over.gnutls_x509_crl_dist_points_t cdpβ a pointer to an initialized CRL distribution points. key word: initialized. she needs to already exist before you start putting stuff in her π«Άunsigned int flagsβ should be zero. that's it. that's the whole job. zero. nothing else. don't get creative π
π DESCRIPTION π
so here's the tea: this function will extract the CRL distribution points extension β that's 2.5.29.31 for the OID girlies keeping score β and store it into the provided type. that's literally it. extract, store, done. iconic behavior honestly β¨
β RETURNS β
on success you get GNUTLS_E_SUCCESS (which is 0, the number we love to see), otherwise it's a negative error value. so likeβ¦ if the number is negative, that's your sign. sad girl hours π
π SINCE π
3.3.0 β she's been around a minute, a true veteran π
π REPORTING BUGS π
found a bug? not me gatekeeping β go tell the people:
- 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, legally you gotta keep the receipt π§Ύ)
π 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, bestie!! no notes, ate and left no crumbs π β¨
cute lil sign-off: this was gnutls version 3.8.13, page gnutls_x509_ext...crl_dist_points(3) β mwah, go read some DER, ily π«Άπ
π¦ 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