GNUTLS_X509_CRT_GET_RAW_ISSUER_DN(3)

✨ NAME ✨

gnutls_x509_crt_get_raw_issuer_dn β€” bestie, this is an API function πŸ’– and it is exactly what it says on the tin.


🌸 SYNOPSIS 🌸

#include <gnutls/x509.h>

int gnutls_x509_crt_get_raw_issuer_dn(gnutls_x509_crt_t cert,
gnutls_datum_t * dn);

πŸŽ€ ARGUMENTS πŸŽ€

  • gnutls_x509_crt_t cert β€” okay so this one should contain a gnutls_x509_crt_t type. That's the vibe. πŸ‘‘
  • gnutls_datum_t * dn β€” this lil cutie is gonna hold the starting point of the DN. 🫢

πŸ’… DESCRIPTION πŸ’…

So what does this do? It returns a pointer to the DER encoded DN structure and the length. That's it, that's the whole plot. 🌈

Heads up bestie: this points to allocated data that must be free'd using gnutls_free(). Do not forget. Do not ghost it. Memory leaks are NOT the vibe. πŸ’€

⭐ RETURNS ⭐

On success, GNUTLS_E_SUCCESS (0) is returned, otherwise a negative error value. or a negative error code on error. 😭 (yes, the docs really say it twice, we love a redundant queen)


πŸ™ˆ REPORTING BUGS πŸ™ˆ

Found something cursed? Report bugs to <bugs@gnutls.org>. πŸ’œ

Home page: https://www.gnutls.org


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. (slay, no cap, it's giving open source generosity ✨)


πŸ¦‹ 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/


k that's the whole page bestie!! this one shipped with gnutls 3.8.13 and lives in the gnutls manual as gnutls_x509_crt_get_raw_issuer_dn(3) β€” no date on it, she's timeless, main character energy fr fr. now go free that datum. πŸ’…πŸŒΈ

πŸ“¦ where this page comes from