gnutls_privkey_import_dsa_raw(3)
β¨ gnutls_privkey_import_dsa_raw β¨
okay bestie, so this is a page from the gnutls manual, section 3 (that's the library-functions girlies, iykyk). It's literally called gnutls_privkey_import_dsa_raw and it's about shoving raw DSA numbers into a gnutls private key. Let's get into it π
πΈ NAME πΈ
gnutls_privkey_import_dsa_raw β it's an API function, no cap.
π SYNOPSIS π
#include <gnutls/abstract.h>
int gnutls_privkey_import_dsa_raw(gnutls_privkey_t key, const
gnutls_datum_t * p, const gnutls_datum_t * q, const gnutls_datum_t * g,
const gnutls_datum_t * y, const gnutls_datum_t * x);
like, six arguments. she's high maintenance but she delivers π«Ά
π ARGUMENTS π
gnutls_privkey_t keyβ the structure that's gonna hold your parsed key. this is where the magic gets stored, bestie, she's the main character here πconst gnutls_datum_t * pβ holds thep. that's it. that's the whole job.const gnutls_datum_t * qβ holds theq. (yes the alphabet continues, we love a theme π)const gnutls_datum_t * gβ holds theg. iconic of her tbh.const gnutls_datum_t * yβ holds they, and heads up β this one is optional β¨ you can skip it if you don't have it.const gnutls_datum_t * xβ holds thex. and yeah, we skippedrandsand went straight tox, that's just how DSA does it, not my problem π
π¦ DESCRIPTION π¦
So this function takes those raw DSA parameters you just handed it and converts them into the native gnutls_privkey_t format. The output gets stored in key.
that's the whole vibe. raw numbers in, native key out. obsessed π§
β RETURNS β
If it ate: GNUTLS_E_SUCCESS (0) comes back at you π
If it did NOT eat: you get a negative error value, and you have my condolences π
π REPORTING BUGS π
Found a bug? tell the girlies, they want to know:
- 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. (so like, go off, just keep the receipts π§Ύ)
π 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/
fr fr, if the docs aren't on your machine, that URL is your bestie. don't skip it.
and that's the whole page, babe π
this was gnutls 3.8.13, page gnutls_privkey_import_dsa_raw(3). go import those DSA params, you absolute legend π«Άβ¨
π¦ 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