gnutls_dh_params_import_dsa(3)
π NAME π
gnutls_dh_params_import_dsa β it's an API function, bestie, and it's here to do one (1) iconic little job
β¨ SYNOPSIS β¨
#include <gnutls/gnutls.h>
int gnutls_dh_params_import_dsa(gnutls_dh_params_t dh_params,
gnutls_x509_privkey_t key);
π ARGUMENTS π
gnutls_dh_params_t dh_paramsβ the parameters, like, the lil container you're stuffing stuff into π«Άgnutls_x509_privkey_t keyβ this one holds a DSA private key, no cap
πΈ DESCRIPTION πΈ
okay so here's the vibe: this function will import the prime and generator of the DSA key, and it does that so they can be used in the Diffie-Hellman key exchange. that's it. that's the whole plot. prime + generator, grabbed straight out of your DSA key, dropped into your DH params π
β RETURNS β
on success you get GNUTLS_E_SUCCESS (0) back β slay β otherwise it hands you a negative error code instead π so like, check it, fr fr
π¦ REPORTING BUGS π¦
found a bug? don't be shy, 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. (iconic behavior, honestly)
π 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 the gnutls_dh_params_import_dsa(3) page from the gnutls manual, version 3.8.13, and i'm obsessed with you for reading all of it. 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