gnutls_privkey_export_dsa_raw(3)
π gnutls_privkey_export_dsa_raw(3) π
okay bestie, so this one lives in the gnutls manual, and it's literally called gnutls_privkey_export_dsa_raw. Yes, the name is a whole mouthful, we love her anyway. π
β¨ NAME β¨
gnutls_privkey_export_dsa_raw β it's an API function, no cap π«Ά
πΈ SYNOPSIS πΈ
#include <gnutls/abstract.h>
int gnutls_privkey_export_dsa_raw(gnutls_privkey_t key, gnutls_datum_t *
p, gnutls_datum_t * q, gnutls_datum_t * g, gnutls_datum_t * y,
gnutls_datum_t * x);
like. look at all those pointers. she's giving parameter buffet. π
π¦ ARGUMENTS π¦
gnutls_privkey_t keyβ this one holds the public key. yes we know, it's a private key function holding a public key, don't look at us, that's just what the manpage says πgnutls_datum_t * pβ will hold thep. iconic. mysterious. she's justp. πgnutls_datum_t * qβ will hold theq. the sequel. πgnutls_datum_t * gβ will hold theg. the third one. β¨gnutls_datum_t * yβ will hold they. almost at the end of the alphabet. πgnutls_datum_t * xβ will hold thex. the main character, lowkey. π
not me listing every single letter like a preschool teacher. but fr fr, they're all gnutls_datum_t * and they all get filled in. π§
π DESCRIPTION π
so basically: this function will export the DSA private key's parameters found in the given structure. π«Ά
the new parameters get allocated using gnutls_malloc() and will be stored in the appropriate datum. so like, the memory is hers, she allocated it, you don't have to make room yourself. slay. π
β RETURNS β
GNUTLS_E_SUCCESS on success β periodt, we ate π
otherwise a negative error code π which, yk, is not the vibe, but at least you'll know.
πΈ SINCE πΈ
3.3.0 β she's been here since 3.3.0, an absolute veteran, respect the elders π
π REPORTING BUGS π
found a bug? not the moment we wanted but okay, 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. π (basically: keep the receipt, 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/
and that's the whole page, bestie!! πβ¨ this was gnutls version 3.8.13, straight from the gnutls manual, and yes she's still serving gnutls_privkey_export_dsa_raw(3) energy at the bottom of every page. 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