Lines Matching refs:outfile
8 $outfile = tempnam(sys_get_temp_dir(), "cms_enc_basic");
9 if ($outfile === false)
11 $outfile2 = $outfile . ".out";
22 var_dump(openssl_cms_encrypt($infile, $outfile, $single_cert, $headers));
23 var_dump(openssl_cms_encrypt($infile, $outfile, openssl_x509_read($single_cert), $headers));
24 var_dump(openssl_cms_decrypt($outfile, $outfile2, $single_cert, $privkey));
26 var_dump(openssl_cms_encrypt($infile, $outfile, $single_cert, $assoc_headers));
27 var_dump(openssl_cms_encrypt($infile, $outfile, $single_cert, $empty_headers));
28 var_dump(openssl_cms_encrypt($wrong, $outfile, $single_cert, $headers));
29 var_dump(openssl_cms_encrypt($empty, $outfile, $single_cert, $headers));
31 var_dump(openssl_cms_encrypt($infile, $outfile, $wrong, $headers));
32 var_dump(openssl_cms_encrypt($infile, $outfile, $empty, $headers));
33 var_dump(openssl_cms_encrypt($infile, $outfile, $multi_certs, $headers));
34 var_dump(openssl_cms_encrypt($infile, $outfile, array_map('openssl_x509_read', $multi_certs) , $hea…
36 if (file_exists($outfile)) {
38 unlink($outfile);