openssl_cms_verify

Supported Versions: PHP 8
Verify a CMS signature
<?php openssl_cms_verify(    string $input_filename,    int $flags = 0,    ?string $certificates = null,    array $ca_info = [],    ?string $untrusted_certificates_filename = null,    ?string $content = null,    ?string $pk7 = null,    ?string $sigfile = null,    int $encoding = OPENSSL_ENCODING_SMIME): bool