GNUTLS_X509_SPKI_GET_RSA_OAEP_PARAMS(3)
π gnutls_x509_spki_get_rsa_oaep_params β the one that reads your RSA-OAEP params π
okay bestie, so this is a page from the gnutls manual, and it's all about one very specific little function. it's giving "I just want the parameters, please" energy, and honestly? relatable. β¨
β¨ NAME β¨
gnutls_x509_spki_get_rsa_oaep_params β literally just an API function, no cap π«Ά
πΈ SYNOPSIS πΈ
#include <gnutls/x509.h>
int gnutls_x509_spki_get_rsa_oaep_params(gnutls_x509_spki_t spki,
gnutls_digest_algorithm_t * dig, gnutls_datum_t * label);
π ARGUMENTS π
gnutls_x509_spki_t spkiβ the SubjectPublicKeyInfo structure, aka the main character of this whole situation πgnutls_digest_algorithm_t * digβ if it's non-NULL, this lil guy will hold the digest algorithm. if you passNULL, it's just not that girl today, and that's fine πgnutls_datum_t * labelβ if it's non-NULL, it will hold the pointer tolabel. again,NULL= no thanks, we're not doing that π
π¦ DESCRIPTION π¦
so what does this function actually do, bestie? it gets the public key algorithm parameters of RSA-OAEP type. that's it. that's the whole vibe. it's a getter, it's chill, it minds its own business πΈ
β RETURNS β
- zero if the parameters are present π
- a negative value on error π
π SINCE π
3.8.4 β so this has been around for a minute, it's not new new, but it's still iconic β¨
π₯ REPORTING BUGS π₯
found a bug? do NOT suffer in silence, bestie, that's not the move.
- 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.
(translation: share it, remix it, just keep the receipts, 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 3.8.13, from the gnutls manual, and yes the version number is literally the last thing we say because we're dramatic like that. go forth and get those RSA-OAEP params. slay ππ¦β¨
π¦ 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