GNUTLS_X509_PRIVKEY_EXPORT_DSA_RAW(3)
β¨ NAME β¨
gnutls_x509_privkey_export_dsa_raw β bestie, it's an API function π and it's here to pull the raw DSA private key params out of your key structure π
This one lives in the gnutls manual, section 3 π¦
β¨ SYNOPSIS β¨
#include <gnutls/x509.h>
int gnutls_x509_privkey_export_dsa_raw(gnutls_x509_privkey_t key,
gnutls_datum_t * p, gnutls_datum_t * q, gnutls_datum_t * g,
gnutls_datum_t * y, gnutls_datum_t * x);
πΈ ARGUMENTS πΈ
gnutls_x509_privkey_t keyβ the key, girl. this is the one you're cracking open πgnutls_datum_t * pβ will hold thepβ¨ (yes it's just gonna sit there and hold it)gnutls_datum_t * qβ will hold theqπgnutls_datum_t * gβ will hold thegπ¦gnutls_datum_t * yβ will hold theyπΈgnutls_datum_t * xβ will hold thexπ
π DESCRIPTION π
okay so, this function will export the DSA private key's parameters found in the given structure. that's the whole vibe. π
The new parameters get allocated using gnutls_malloc() and will be stored in the appropriate datum. so like, memory is handled for you, no cap. π«Ά
π₯ RETURNS π₯
On success, GNUTLS_E_SUCCESS (0) is returned, otherwise a negative error value. so if you see a negative number, that's not a slay, that's a problem π
π REPORTING BUGS π
Found a bug? 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 behaviour tbh, very giving β¨)
π 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 was gnutls version 3.8.13, section 3, page gnutls_x509_pri..._export_dsa_raw(3) π ty for reading, go export some DSA params responsibly, ily πβ¨
π¦ 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