Lines Matching refs:openssl_pkcs7_encrypt
2 openssl_pkcs7_encrypt() tests
18 $assoc_headers = array("To" => "test@test", "Subject" => "testing openssl_pkcs7_encrypt()");
19 $headers = array("test@test", "testing openssl_pkcs7_encrypt()");
24 var_dump(openssl_pkcs7_encrypt($infile, $outfile, $single_cert, $headers));
25 var_dump(openssl_pkcs7_encrypt($infile, $outfile, openssl_x509_read($single_cert), $headers));
27 var_dump(openssl_pkcs7_encrypt($infile, $outfile, $single_cert, $assoc_headers));
28 var_dump(openssl_pkcs7_encrypt($infile, $outfile, $single_cert, $empty_headers));
29 var_dump(openssl_pkcs7_encrypt($wrong, $outfile, $single_cert, $headers));
30 var_dump(openssl_pkcs7_encrypt($empty, $outfile, $single_cert, $headers));
31 var_dump(openssl_pkcs7_encrypt($infile, $empty, $single_cert, $headers));
32 var_dump(openssl_pkcs7_encrypt($infile, $outfile, $wrong, $headers));
33 var_dump(openssl_pkcs7_encrypt($infile, $outfile, $empty, $headers));
34 var_dump(openssl_pkcs7_encrypt($infile, $outfile, $multi_certs, $headers));
35 var_dump(openssl_pkcs7_encrypt($infile, $outfile, array_map('openssl_x509_read', $multi_certs) , $h…