gnutls_pkcs7_get_signature_count(3)

πŸ’– gnutls_pkcs7_get_signature_count(3) πŸ’–

okay bestie, so this is a page from the gnutls manual β€” yes, that gnutls, the TLS/GnuTLS library manual, section 3, the library functions section. sit down, grab a strawberry πŸ“, and let's get into it because this one is short and sweet and honestly kinda iconic.


✨ NAME ✨

gnutls_pkcs7_get_signature_count β€” it's an API function, and its whole personality is counting signatures. that's it. that's the job. πŸ’…


🌸 SYNOPSIS 🌸

#include <gnutls/pkcs7.h>

int gnutls_pkcs7_get_signature_count(gnutls_pkcs7_t pkcs7);

like, look at her. one include, one function call, zero drama. πŸŽ€


πŸ¦‹ ARGUMENTS πŸ¦‹

  • gnutls_pkcs7_t pkcs7 β€” this one should contain a gnutls_pkcs7_t type. that's the vibe. it's the PKCS7 thing you're asking about, bestie. πŸ’œ

πŸ‘‘ DESCRIPTION πŸ‘‘

so this function will return the number of signatures in the PKCS7 structure. literally that. you hand it a PKCS7 structure, it tells you how many signatures are in there. no cap, that's the entire plot. πŸ”₯


⭐ RETURNS ⭐

on success, a positive number is returned, otherwise a negative error value. so if you get a positive number β€” slay, you got your count. if it's negative β€” that's the error talking, and you should go read it. 😭


🧚 SINCE 🧚

3.4.3 β€” she's been around since version 3.4.3, a whole legend, periodt. ✨


πŸ’€ REPORTING BUGS πŸ’€

found a bug? not you being the main character of QA πŸ™ˆ β€” report it to bugs@gnutls.org.

home page is over at 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. so like, take it, share it, remix it β€” just keep the receipts, okay? πŸŽ€


πŸ’– 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, go visit:

https://www.gnutls.org/manual/

that's the plug, iykyk. πŸ“š


okay and that's the whole page, bestie. this manual page came to you from gnutls 3.8.13 β€” the gnutls package, version 3.8.13 β€” so shoutout to that release for carrying this lil function. mwah, go count some signatures πŸ’…βœ¨

πŸ“¦ where this page comes from