gnutls_x509_crt_get_raw_dn(3)
π gnutls_x509_crt_get_raw_dn(3) π
okay bestie, welcome to the gnutls manual, she's an API function and she's here to hand you the raw DER of a distinguished name π
β¨ NAME β¨
gnutls_x509_crt_get_raw_dn β API function
π¦ SYNOPSIS π¦
#include <gnutls/x509.h>
int gnutls_x509_crt_get_raw_dn(gnutls_x509_crt_t cert, gnutls_datum_t *
dn);
πΈ ARGUMENTS πΈ
gnutls_x509_crt_t certβ should contain agnutls_x509_crt_ttype. like, she needs to be that type, no substitutes πgnutls_datum_t * dnβ will hold the starting point of the DN β¨
π DESCRIPTION π
so this function is gonna return a pointer to the DER encoded DN structure and the length. that's it, that's the job, she ate π
β οΈ important bestie: this points to allocated data and you must free it using gnutls_free(). do not forget. do not ghost the allocator. it's giving memory leak if you do π
π₯ RETURNS π₯
On success, GNUTLS_E_SUCCESS (0) is returned β slay. otherwise a negative error value, or a negative error code on error π
π REPORTING BUGS π
found a bug? tell the girlies: 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. iconic, honestly π
π 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, every last detail intact π«Ά
this was the gnutls manual, version 3.8.13, page gnutls_x509_crt_get_raw_dn(3) β k bye, go free your datums πβ¨π
π¦ 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