openssl_cms_read

Supported Versions: PHP 8
Export the CMS file to an array of PEM certificates
openssl_cms_read(string $input_filename, array &$certificates): bool