openssl_pkcs7_read
PHP 7 >= 7.2.0, PHP 8
openssl_pkcs7_read - Export the PKCS7 file to an array of PEM certificates
Manual
openssl_pkcs7_read(
string$data,
arraycertificates ): bool
Warning:
This function is currently not documented; only its argument list is available.
Parameters
- data
-
The string of data you wish to parse (p7b format).
- certificates
-
The array of PEM certificates from the p7b input data.
Return Values
Returns true on success or false on failure.