GNUTLS_X509_SPKI_GET_RSA_OAEP_PARAMS(3)

πŸ“¦
version 3.8.13 Β· 4 versions
, in alpine 3.22, alpine 3.23, alpine 3.24, arch rolling, fedora 43, fedora 44, ubuntu stonking

πŸ’– 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 pass NULL, 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 to label. 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.


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