Lines Matching refs:outfile
8 $outfile = tempnam(sys_get_temp_dir(), "ssl");
9 $vout= $outfile . ".vout";
11 if ($outfile === false) {
24 var_dump(openssl_cms_sign($infile, $outfile, openssl_x509_read($single_cert), $privkey, $headers));
25 var_dump(openssl_cms_verify($outfile,OPENSSL_CMS_NOVERIFY, NULL, array(), NULL, $vout));
29 if (file_exists($outfile)) {
31 unlink($outfile);
42 var_dump(openssl_cms_sign($infile, $outfile, openssl_x509_read($single_cert), $privkey, $headers,
45 NULL, array(), NULL, $vout, NULL, $outfile, OPENSSL_ENCODING_PEM));
48 if (file_exists($outfile)) {
50 unlink($outfile);
60 var_dump(openssl_cms_sign($infile, $outfile, openssl_x509_read($single_cert), $privkey, $headers,
63 NULL, array(), NULL, $vout, NULL, $outfile, OPENSSL_ENCODING_DER));
67 if (file_exists($outfile)) {
69 unlink($outfile);
71 $outfile=$outfile . "x";
79 var_dump(openssl_cms_sign($infile, $outfile, openssl_x509_read($single_cert), $privkey, $headers,
82 NULL, array(), NULL, $vout, NULL, $outfile, OPENSSL_ENCODING_SMIME));
83 if (file_exists($outfile)) {
85 unlink($outfile);