gnutls_pkcs7_get_crt_count — API function

Synopsis

#include <gnutls/pkcs7.h>

int gnutls_pkcs7_get_crt_count(gnutls_pkcs7_t pkcs7);

Arguments

gnutls_pkcs7_t pkcs7

should contain a gnutls_pkcs7_t type

Description

This function will return the number of certificates in the PKCS7 or RFC2630 certificate set.

Returns

On success, a positive number is returned, otherwise a negative error value.

Reporting Bugs

Report bugs to <bugs@gnutls.org>.
Home page: https://www.gnutls.org

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/

Info

3.6.9 gnutls