(PHP 4 >= 4.0.6)
openssl_pkcs7_encrypt - шифрует S/MIME-сообщение.
bool openssl_pkcs7_encrypt (string infile, string outfile, mixed recipcerts, array headers [, long flags])