gnutls_x509_crl_get_issuer_dn(3)
β¨ NAME β¨
gnutls_x509_crl_get_issuer_dn β okay bestie, this is an API function, and it's literally the one that hands you the name of the CRL issuer. That's it. That's the gig. π
π SYNOPSIS π
#include <gnutls/x509.h>
int gnutls_x509_crl_get_issuer_dn(gnutls_x509_crl_t crl, char * buf,
size_t * sizeof_buf);
πΈ ARGUMENTS πΈ
gnutls_x509_crl_t crlβ bestie this one should contain agnutls_x509_crl_ttype, like, that's its whole job.char * bufβ a pointer to a structure to hold the peer's name. And yes, it may be null, no stress. πsize_t * sizeof_bufβ initially holds the size ofbuf. So you tell it how much room you've got up front, okay? π
π¦ DESCRIPTION π¦
So what this function does: it copies the name of the CRL issuer into the buffer you handed it. That's the move. β¨
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, we love that for it. π
If buf is NULL then only the size will be filled. Nothing else. Just the size. Iconic minimalism. π
Heads up bestie: this function does not output a fully RFC4514 compliant string. If that's what you need, go see gnutls_x509_crl_get_issuer_dn3(). Different function, different vibe, no cap. π
β RETURNS β
GNUTLS_E_SHORT_MEMORY_BUFFERβ your buffer was not long enough, bestie π and in that case thesizeof_bufwill be updated with the required size so you know exactly what to bring next time.0β success. Slay. π
π«Ά REPORTING BUGS π«Ά
Found a bug? Report it to <bugs@gnutls.org>. They're literally waiting to hear from you. π¬
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. Fr fr, that's the deal. β¨
π₯ 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 β this is gnutls 3.8.13, from the gnutls_x509_crl_get_issuer_dn(3) manual. Go get those issuer names. Periodt. π
β¨π¦
π¦ 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