pkcs7_get_certs()

 
Given a structure reference such as returned from pkcs7_load_mem, return certificate references for the x509 certificates that are embedded therein.
Syntax
pkcs7_get_certs( pkcs7 var, x509s var )
Returns Count of array elements returned, -1 on failure
  • pkcs7 = Structure reference
  • x509s = Array of x509 certificate references
User Annotations: pkcs7_get_certs