gnutls_x509_sp..._rsa_pss_params(3)
π gnutls_x509_sp..._rsa_pss_params(3) π
okay bestie so you're in the gnutls manual, and this lil page is all about one very specific function that pulls RSA-PSS params out of a SubjectPublicKeyInfo. yes it's a mouthful, no you're not dumb, the page title is literally truncated with ... because it's That Long. let's get into it π«Ά
β¨ NAME β¨
gnutls_x509_spki_get_rsa_pss_params β it's an API function, periodt.
β¨ SYNOPSIS β¨
#include <gnutls/x509.h>
int gnutls_x509_spki_get_rsa_pss_params(gnutls_x509_spki_t spki,
gnutls_digest_algorithm_t * dig, unsigned int * salt_size);
like, you gotta include the header first, obviously π
β¨ ARGUMENTS β¨
gnutls_x509_spki_t spkiβ the SubjectPublicKeyInfo structure. this is the thing you're interrogating, she's the main character here πgnutls_digest_algorithm_t * digβ if it's non-NULL, it will hold the digest algorithm. if it's NULL, she simply does not get filled, and that's fine πΈunsigned int * salt_sizeβ if it's non-NULL, it will hold the salt size. same deal, NULL means she stays empty, no shade π
β¨ DESCRIPTION β¨
so what does this do? this function will get the public key algorithm parameters of RSA-PSS type. that's it. that's the whole job. she's a getter, she gets things, and she gets them correctly β¨
β¨ RETURNS β¨
- returns zero if the parameters are present β¨
- or a negative value on error π
lowkey important: zero = good news, negative = something went wrong. don't flip those around bestie, i'm begging π
β¨ SINCE β¨
3.6.0 β she's been here since 3.6.0, an absolute icon of longevity π
β¨ REPORTING BUGS β¨
found a bug? not the vibe, but okay, report it:
- 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 that means you can share it, 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 came to you from gnutls 3.8.13 β the gnutls_x509_sp..._rsa_pss_params(3) of the gnutls manual, slay, bye π
β¨
π¦ 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