gnutls_x509_crl_get_issuer_dn3(3)
π gnutls_x509_crl_get_issuer_dn3 π
okay bestie, so this is a page from the gnutls manual, and it's all about gnutls_x509_crl_get_issuer_dn3 β yes that's a whole mouthful, but it's literally just "hey, tell me who issued this CRL" π
β¨ NAME β¨
gnutls_x509_crl_get_issuer_dn3 β API function
πΈ SYNOPSIS πΈ
#include <gnutls/x509.h>
int gnutls_x509_crl_get_issuer_dn3(gnutls_x509_crl_t crl, gnutls_datum_t
*dn, unsigned flags);
π¦ ARGUMENTS π¦
gnutls_x509_crl_t crlβ should contain agnutls_x509_crl_ttype. yeah, it's a CRL, that's the whole point πgnutls_datum_t * dnβ a pointer to a structure to hold the name; must be freed usinggnutls_free()β not me stressing about leaks, but fr fr, free it π«Άunsigned flagsβ zero orGNUTLS_X509_DN_FLAG_COMPAT. that's the vibe check, pick one π§
π DESCRIPTION π
so this function will allocate a buffer and copy the name of the CRL issuer into it. the name comes out looking like "C=xxxx,O=yyyy,CN=zzzz", exactly as described in RFC4514. and the output string will be ASCII or UTF-8 encoded, depending on the certificate data. so it's giving β¨flexibleβ¨ but you don't get to choose, the cert data chooses for you π
when the flag GNUTLS_X509_DN_FLAG_COMPAT is specified, the output format will match the format output by previous to 3.5.6 versions of GnuTLS β which was not not fully RFC4514-compliant. (yes the original says "not not", iconic, we keep it π) so basically it's the old-school throwback format for the OGs who need backwards vibes.
β RETURNS β
on success, GNUTLS_E_SUCCESS (0) is returned. otherwise, a negative error value. so like, zero = slay, negative = π
π SINCE π
3.5.7 β yeah she's been around a minute, a real main character β¨
π REPORTING BUGS π
found a bug? don't gatekeep, 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. so like, go off, just 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/
and that's the whole page bestie, no cap. this lil' baddie shipped with gnutls 3.8.13 β thanks for reading, ily, now go free that gnutls_datum_t π«Άβ¨π
π¦ 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