gnutls_pubkey_export_dsa_raw(3)
β¨ gnutls_pubkey_export_dsa_raw(3) β¨
okay bestie, welcome to the gnutls manual, section 3 β and today's main character is gnutls_pubkey_export_dsa_raw, the API function that gets your DSA public key parameters out of a key object and into your hands. it's giving extraction, it's giving DSA, it's giving π
π NAME π
gnutls_pubkey_export_dsa_raw β API function
πΈ SYNOPSIS πΈ
#include <gnutls/abstract.h>
int gnutls_pubkey_export_dsa_raw(gnutls_pubkey_t key, gnutls_datum_t *
p, gnutls_datum_t * q, gnutls_datum_t * g, gnutls_datum_t * y);
π¦ ARGUMENTS π¦
gnutls_pubkey_t keyβ this is the one holding the public key. the source of truth, the moment, the icon πgnutls_datum_t * pβ will hold thep(may beNULL)gnutls_datum_t * qβ will hold theq(may beNULL)gnutls_datum_t * gβ will hold theg(may beNULL)gnutls_datum_t * yβ will hold they(may beNULL)
π DESCRIPTION π
so like, this function will export the DSA public key's parameters that are found in the given certificate. the new parameters get allocated using gnutls_malloc() and get stored in the appropriate datum. no cap, that's the whole vibe. π«Ά
and here's the cute part β this function allows for NULL parameters since 3.4.1. so if you don't care about one of them, just pass NULL and move on with your life. self-care, honestly π
β RETURNS β
GNUTLS_E_SUCCESS on success β slay π
β otherwise a negative error code. not slay. π
π SINCE π
3.3.0 β she's been around for a minute, an OG fr fr
π REPORTING BUGS π
found a bug? not me manifesting that, 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. 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/
and that's the whole page, bestie. this was gnutls_pubkey_export_dsa_raw(3) from gnutls 3.8.13, and yes she ate, no crumbs. go forth and export those parameters π§β¨π
π¦ 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