openssl_cms_verify Verify a CMS signature &reftitle.description; boolopenssl_cms_verify stringinput_filename intflags0 stringnullcertificates&null; arrayca_info[] stringnulluntrusted_certificates_filename&null; stringnullcontent&null; stringnullpk7&null; stringnullsigfile&null; intencodingOPENSSL_ENCODING_SMIME This function verifies a CMS signature, either attached or detached, with the specified encoding. &reftitle.parameters; input_filename The input file. flags Flags to pass to cms_verify. certificates A file with the signer certificate and optionally intermediate certificates. ca_info An array containing self-signed certificate authority certificates. untrusted_certificates_filename A file containing additional intermediate certificates. content A file pointing to the content when signatures are detached. pk7 sigfile A file to save the signature to. encoding The encoding of the input file. One of OPENSSL_CMS_SMIME, OPENSLL_CMS_DER or OPENSSL_CMS_PEM. &reftitle.returnvalues; &return.success;