pkcs7_verify()

 
Given a pkcs7 structure reference and root x509 certificate reference, verify the pkcs7 structure and the signed content (if provided).
Syntax
pkcs7_verify( pkcs7 var, root_x509 var, content )
Returns 1 on success, 0 on failure
  • pkcs7 = PKCS7 structure reference
  • root_x509 = Root x509 certificate reference
  • content = Optional content if not present in the PKCS structure
User Annotations: pkcs7_verify