bool openssl_pkcs7_decrypt
(string infilename, string outfilename, mixed recipcert, mixed recipkey)
Warning |
This function is EXPERIMENTAL. That means, that the behaviour of this function, this function name, in concreto ANYTHING documented here can change in a future release of PHP WITHOUT NOTICE. Be warned, and use this function at your own risk. |
Decrypts the S/MIME encrypted message contained in the file specified by infilename using the certificate and it's associated private key specified by recipcert and recipkey.
The decrypted message is output to the file specified by outfilename
Example 1. openssl_pkcs7_decrypt() example
|
Note: This function was added in 4.0.6.