openssl_cms_decrypt
openssl_cms_decrypt
Decrypt a CMS message
bool **openssl_cms_decrypt** string $input_filename string $output_filename $certificate $private_key int $encoding
Decrypts a CMS message.
input_filenameThe name of a file containing encrypted content.
output_filenameThe name of the file to deposit the decrypted content.
certificateThe name of the file containing a certificate of the recipient.
private_keyThe name of the file containing a #8 key.
encoding
The encoding of the input file. One of ,
or .
OPENSSL_ENCODING_SMIME``OPENSSL_ENCODING_DER``OPENSSL_ENCODING_PEM
return.success