Lines Matching refs:openssl_pkcs7_sign
2 openssl_pkcs7_sign() tests
15 $assoc_headers = array("To" => "test@test", "Subject" => "testing openssl_pkcs7_sign()");
16 $headers = array("test@test", "testing openssl_pkcs7_sign()");
21 var_dump(openssl_pkcs7_sign($infile, $outfile, openssl_x509_read($single_cert), $privkey, $headers)…
22 var_dump(openssl_pkcs7_sign($infile, $outfile, $single_cert, $privkey, $headers));
23 var_dump(openssl_pkcs7_sign($infile, $outfile, $single_cert, $privkey, $assoc_headers));
24 var_dump(openssl_pkcs7_sign($infile, $outfile, $single_cert, $privkey, $empty_headers));
25 var_dump(openssl_pkcs7_sign($wrong, $outfile, $single_cert, $privkey, $headers));
26 var_dump(openssl_pkcs7_sign($empty, $outfile, $single_cert, $privkey, $headers));
27 var_dump(openssl_pkcs7_sign($infile, $empty, $single_cert, $privkey, $headers));
28 var_dump(openssl_pkcs7_sign($infile, $outfile, $wrong, $privkey, $headers));
29 var_dump(openssl_pkcs7_sign($infile, $outfile, $empty, $privkey, $headers));
30 var_dump(openssl_pkcs7_sign($infile, $outfile, $single_cert, $wrong, $headers));
43 Warning: openssl_pkcs7_sign(): Error opening input file wrong! in %s on line %d
46 Warning: openssl_pkcs7_sign(): Error opening input file ! in %s on line %d
49 Warning: openssl_pkcs7_sign(): Error opening output file ! in %s on line %d
52 Warning: openssl_pkcs7_sign(): X.509 Certificate cannot be retrieved in %s on line %d
55 Warning: openssl_pkcs7_sign(): X.509 Certificate cannot be retrieved in %s on line %d
58 Warning: openssl_pkcs7_sign(): Error getting private key in %s on line %d