gnutls_x509_crt_get_issuer(3)
π gnutls_x509_crt_get_issuer π
okay bestie, this is a page from the gnutls manual, and it's about getting the issuer out of a certificate. yes, like, the who signed this of it all. let's go π¦
β¨ NAME β¨
gnutls_x509_crt_get_issuer β literally an API function, that's the whole name, slay
πΈ SYNOPSIS πΈ
#include <gnutls/x509.h>
int gnutls_x509_crt_get_issuer(gnutls_x509_crt_t cert, gnutls_x509_dn_t
*dn);
π ARGUMENTS π
gnutls_x509_crt_t certβ bestie this one should contain agnutls_x509_crt_ttype. that's it, that's the vibe.gnutls_x509_dn_t * dnβ this is your output variable, and it holds a pointer to auint8_tDN. it's giving "results go here" π
π DESCRIPTION π
So what it does: it returns the Certificate's Issuer DN as a gnutls_x509_dn_t data type, which you can then decode using gnutls_x509_dn_get_rdn_ava(). adorable, right? π«Ά
β οΈ okay IMPORTANT though:dnshould be treated as constant. because it points into thecertobject, you should not usednaftercertis deallocated. like, don't. that's undefined-ish chaos and we don't do that here π
π RETURNS π
Returns 0 on success, or an error code. that's the whole story, no notes β¨
π REPORTING BUGS π
Found a bug? 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/
and that's the page!! this was gnutls version 3.8.13, and the manpage is gnutls_x509_crt_get_issuer(3) β go forth and read those issuers, main character π
β¨π
π¦ 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