gnutls_x509_sp..._rsa_pss_params(3)

πŸ’– gnutls_x509_spki_set_rsa_pss_params β€” API function πŸ’–

okay so bestie, we're deep in the gnutls manual pages, specifically the gnutls_x509_sp..._rsa_pss_params(3) corner of the library, and honestly? it's giving cryptography. it's giving X.509. it's giving main character energy. let's get into it πŸ¦‹


✨ NAME ✨

gnutls_x509_spki_set_rsa_pss_params β€” literally just an API function, no cap πŸ’…


🌸 SYNOPSIS 🌸

#include <gnutls/x509.h>

void gnutls_x509_spki_set_rsa_pss_params(gnutls_x509_spki_t spki,
gnutls_digest_algorithm_t dig, unsigned int salt_size);

πŸŽ€ ARGUMENTS πŸŽ€

  • gnutls_x509_spki_t spki β€” the SubjectPublicKeyInfo structure, aka the little container holding your public key info 🫢
  • gnutls_digest_algorithm_t dig β€” a digest algorithm, and its type is gnutls_digest_algorithm_t, periodt
  • unsigned int salt_size β€” the size of the salt string πŸ§‚ (yes bestie, actual salt, in your crypto)

πŸ’œ DESCRIPTION πŸ’œ

so this function will set the public key parameters for an RSA-PSS algorithm, and it does that inside the SubjectPublicKeyInfo structure. that's it. that's the whole vibe. you hand it the spki, you hand it the digest, you hand it the salt size, and it just ✨ sets ✨ them. obsessed.


⭐ SINCE ⭐

3.6.0 β€” she's been here since 3.6.0 and she's been iconic the entire time πŸ‘‘


πŸ› REPORTING BUGS πŸ›

found a bug? don't be shy, report it to <bugs@gnutls.org>.

home page is right here: https://www.gnutls.org


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. (fr fr, that's the license, keep the notice, we love a permissive queen πŸ’–)


πŸ”₯ 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/

iykyk πŸ“š


not me writing an entire love letter to a single setter function. anyway. salt size. digest algorithm. SubjectPublicKeyInfo. go set those params bestie, you got this πŸ’…βœ¨

and that's a wrap on this one, babes β€” this page is from gnutls 3.8.13, the gnutls_x509_sp..._rsa_pss_params(3) manual page. mwah πŸ’‹ πŸ¦‹πŸŒΈπŸ’–

πŸ“¦ where this page comes from