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 agnutls_pkcs7_ttype. 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 π
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
- 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