gnutls_x509_crt_get_pk_dsa_raw(3)
π gnutls_x509_crt_get_pk_dsa_raw β bestie edition π
okay so real talk, this is a page from the gnutls manual (yes, that gnutls, the TLS library, the one carrying your entire internet on its back π«Ά) and today we're doing gnutls_x509_crt_get_pk_dsa_raw. it's an API function. it's giving "quietly important". let's get into it β¨
β¨ SYNOPSIS β¨
#include <gnutls/x509.h>
int gnutls_x509_crt_get_pk_dsa_raw(gnutls_x509_crt_t crt, gnutls_datum_t * p, gnutls_datum_t * q, gnutls_datum_t * g, gnutls_datum_t * y);
no cap, that's the whole vibe right there π
π ARGUMENTS π
gnutls_x509_crt_t crtβ the certificate you're holding, literally. this is the one we're gonna dig into πgnutls_datum_t * pβ bestie, this one will hold thep. that's it, that's the job π«‘gnutls_datum_t * qβ and this one will hold theq. she's got one task πgnutls_datum_t * gβ you guessed it, will hold thegπgnutls_datum_t * yβ and finally, will hold they. four little datums, four little destinies πΈ
π DESCRIPTION π
so what does this icon actually do? she exports the DSA public key's parameters that are found in the given certificate. periodt. π¦
the new parameters get allocated using gnutls_malloc() and then they get stored in the appropriate datum. so like, the memory is hers now, you didn't malloc it, she did, and she's handing it to you π
β RETURNS β
GNUTLS_E_SUCCESSon success π₯³- otherwise, a negative error code π (she's not mad, she's just disappointed)
π₯ REPORTING BUGS π₯
found something sus? don't just suffer in silence, report it:
- 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. so like, go forth and share, just keep the receipts bestie π«Ά
πΈ 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/
iykyk, the Texinfo manual is where the deep lore lives πβ¨
and that's the whole page bestie π
this was gnutls 3.8.13, from the gnutls manual, and honestly? she ate. no crumbs. go read a certificate, export some parameters, stay hydrated, and remember: p, q, g, y β in that order, every time. mwah ππ¦β¨
π¦ 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