gnutls_pkcs7_get_crt_count — This function returns the number of certificates in a PKCS7 certificate set
#include <gnutls/x509.h>
int
gnutls_pkcs7_get_crt_count( |
gnutls_pkcs7_t | pkcs7) ; |
This function will return the number of certifcates in the PKCS7 or RFC2630 certificate set.
Returns a negative value on failure.