|
PHP5中文手册
openssl_pkcs7_decrypt(PHP 4 >= 4.0.6, PHP 5) openssl_pkcs7_decrypt — Decrypts an S/MIME encrypted message 说明
bool openssl_pkcs7_decrypt
( string $infilename
, string $outfilename
, mixed $recipcert
[, mixed $recipkey
] )
Decrypts the S/MIME encrypted message contained in the file specified by infilename using the certificate and its associated private key specified by recipcert and recipkey . 参数
返回值如果成功则返回 TRUE,失败则返回 FALSE。 范例
Example#1 openssl_pkcs7_decrypt() example
<?php |