pkcs7_load_mem()

 
Load a list of PKCS7 structures in the specified format into memory, and return a structure reference that refers to the structure(s) in internal storage.
Syntax
pkcs7_load_mem( cert, format, pkcs7 var )
Returns 1 on success, 0 on failure
  • cert = Text of a list of pkcs7 structures
  • format = Format of the structure(s) passed in. Valid values are "der", "pem", or "pkcs12", with "der" used if the format is missing or any other values are passed
  • pkcs7 = Structure array reference. On success, this will be neither zero nor null
User Annotations: pkcs7_load_mem