gnutls_pubkey_export_dsa_raw2(3)
π gnutls_pubkey_export_dsa_raw2 π
okay bestie, so this one lives in the gnutls manual (that's the family it belongs to, iykyk) and it's literally an API function. let's get into it π
β¨ NAME β¨
gnutls_pubkey_export_dsa_raw2 β API function
πΈ SYNOPSIS πΈ
#include <gnutls/abstract.h>
int gnutls_pubkey_export_dsa_raw2(gnutls_pubkey_t key, gnutls_datum_t *
p, gnutls_datum_t * q, gnutls_datum_t * g, gnutls_datum_t * y, unsigned
flags);
π¦ ARGUMENTS π¦
gnutls_pubkey_t keyβ this one's holding the public key, bestie. she's the main character here πgnutls_datum_t * pβ is gonna hold thep(and yes, it may beNULL, we love a flexible queen)gnutls_datum_t * qβ is gonna hold theq(may beNULLtoo, no pressure)gnutls_datum_t * gβ is gonna hold theg(may beNULL, slay)gnutls_datum_t * yβ is gonna hold they(may beNULL, iconic behaviour honestly)unsigned flagsβ flags fromgnutls_abstract_export_flags_t
π DESCRIPTION π
so this function will export the DSA public key's parameters found in the given certificate. the new parameters get allocated using gnutls_malloc() and they'll be stored in the appropriate datum. no cap π«Ά
also, not me pointing out that this function allows for NULL parameters since 3.4.1 β yes, that's literally a thing, she's been flexible for a while now.
β RETURNS β
GNUTLS_E_SUCCESS on success β otherwise you're getting a negative error code, and that's just how it is π
π SINCE π
3.6.0 β she's been around since 3.6.0, a true legend β¨
π REPORTING BUGS π
found a bug? don't be shy, report it to bugs@gnutls.org. they want to hear from you fr fr.
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. periodt π
π 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/
ok that's the whole page bestie, every flag, every datum, every copyright line β nothing skipped, we keep the receipts π
gnutls 3.8.13 β and that's the version + date situation, so go forth and export those DSA params, you absolute icon π§β¨
π¦ 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