The CEO EOD; / / save message to file $fp = fopen("msg.txt", "w"); fwrite($fp, $data); fclose($fp); / / encrypt it if (openssl_pkcs7_sign("msg.txt", "signed.txt", "mycert.pem", array("mycert.pem", "mypassphrase"), array("To "= "joes@sales.com", / / keyed syntax "From:
Ton boss HQ EOD; / / sauvez le message dans un fichier $fp = fopen("msg.txt", "w"); fwrite($fp, $data); fclose($fp); / / chiffrez le if (openssl_pkcs7_sign("msg.txt", "signed.txt", "mycert.pem", array("mycert.pem", "mypassphrase"), array("To "= "joes@sales.com", / / keyed syntax "From: