gnutls_pkcs7_get_signature_info(3)
π gnutls_pkcs7_get_signature_info β a manual page, but make it bestie-core π
okay so this is a page from the gnutls manual (yes, the crypto library, the real one, she's iconic) and we're talking about gnutls_pkcs7_get_signature_info. it's giving "let me peek inside your PKCS 7 structure and tell you about one specific signature" energy. slay.
β¨ NAME β¨
gnutls_pkcs7_get_signature_info β literally just an API function, no cap π«Ά
π SYNOPSIS π
#include <gnutls/pkcs7.h>
int gnutls_pkcs7_get_signature_info(gnutls_pkcs7_t pkcs7, unsigned idx,
gnutls_pkcs7_signature_info_st * info);
π¦ ARGUMENTS π¦
gnutls_pkcs7_t pkcs7β bestie, this one should contain agnutls_pkcs7_ttype. that's the vibe check. βunsigned idxβ the index of the signature info you wanna check π like which one in the lineupgnutls_pkcs7_signature_info_st * infoβ this is where the output signature gets dropped off. it's the lil container, the gift bag, the β¨ receptacle β¨
πΈ DESCRIPTION πΈ
so the way this works: this function will return information about the signature identified by idx in the provided PKCS 7 structure. yes, that idx. the one you passed. she's looking it up for you, no stress π
π¨ IMPORTANT BESTIE ALERT π¨ the information you get back should be deinitialized using gnutls_pkcs7_signature_info_deinit(). like, you gotta clean up after yourself. it's giving "leave the room how you found it" energy. don't be the person who leaks memory, it's not the moment π
π RETURNS π
On success, GNUTLS_E_SUCCESS (0) is returned β we love a zero, we love a win, periodt π
Otherwise? a negative error value. π so like, check your return values, bestie. always.
β SINCE β
3.4.2 β she's been around a minute, a real veteran, lowkey iconic π
π REPORTING BUGS π
found a bug? (not the cute kind π) β report bugs to <bugs@gnutls.org>.
Home page: https://www.gnutls.org
fr fr, they wanna hear from you.
π 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. that's the whole deal, super generous, we stan π«Ά
π 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 β go read the whole thing, it's a journey π§
and that's the page, bestie!! this lil drop of wisdom comes to you from gnutls version 3.8.13 (source: the gnutls project, obviously π ). go forth, get your signature info, deinit it when you're done, and stay hydrated. mwah πβ¨ππ¦πΈ
π¦ 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