gnutls_pubkey_import_rsa_raw(3)
π gnutls_pubkey_import_rsa_raw(3) π
okay bestie, welcome to the gnutls manual, the abstract.h corner of the universe πΈ this one's all about dropping raw RSA public parameters straight into a pubkey, no DER wrapping, no drama, just vibes and math β¨
β¨ NAME β¨
gnutls_pubkey_import_rsa_raw β it's an API function, and it's here to serve π
π¦ SYNOPSIS π¦
#include <gnutls/abstract.h>
int gnutls_pubkey_import_rsa_raw(gnutls_pubkey_t key, const
gnutls_datum_t * m, const gnutls_datum_t * e);
like, that's the whole entrance exam, bestie, three arguments and a return int π
πΈ ARGUMENTS πΈ
gnutls_pubkey_t keyβ the key itself, your main character πconst gnutls_datum_t * mβ holds the modulus. yes, the big number, the whole thing πconst gnutls_datum_t * eβ holds the public exponent. usually tiny. usually iconic. lowkey always invited to the party π
π DESCRIPTION π
so what this function does: it replaces the parameters in the given structure π₯ like, not "adds to", not "merges with" β replaces. the new parameters should be stored in the appropriate gnutls_datum. that's it, that's the whole job, and it does it flawlessly, no notes π
β RETURNS β
GNUTLS_E_SUCCESS on success, or a negative error code. slay when it works, and when it doesn't, at least it tells you with a negative number, fr fr π
π SINCE π
2.12.0 β an elder, an OG, a legend that's been holding it down since way back π«Ά
π REPORTING BUGS π
found something cursed? 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. (yes bestie, that means 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/ π
and that's the whole page, bestie!! this was gnutls version 3.8.13 doing its thing, sourced straight from the gnutls_pubkey_import_rsa_raw(3) page itself π mwah, go import some raw RSA, you've got this π¦β¨
π¦ 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