Lines Matching refs:openssl_cms_sign
2 openssl_cms_sign() tests
15 $assoc_headers = array("To" => "test@test", "Subject" => "testing openssl_cms_sign()");
16 $headers = array("test@test", "testing openssl_cms_sign()");
21 var_dump(openssl_cms_sign($infile, $outfile, openssl_x509_read($single_cert), $privkey, $headers));
26 var_dump(openssl_cms_sign($infile, $outfile, $single_cert, $privkey, $headers));
27 var_dump(openssl_cms_sign($infile, $outfile, $single_cert, $privkey, $assoc_headers));
28 var_dump(openssl_cms_sign($infile, $outfile, $single_cert, $privkey, $empty_headers));
29 var_dump(openssl_cms_sign($wrong, $outfile, $single_cert, $privkey, $headers));
30 var_dump(openssl_cms_sign($empty, $outfile, $single_cert, $privkey, $headers));
31 var_dump(openssl_cms_sign($infile, $empty, $single_cert, $privkey, $headers));
32 var_dump(openssl_cms_sign($infile, $outfile, $wrong, $privkey, $headers));
33 var_dump(openssl_cms_sign($infile, $outfile, $empty, $privkey, $headers));
34 var_dump(openssl_cms_sign($infile, $outfile, $single_cert, $wrong, $headers));
47 Warning: openssl_cms_sign(): Error opening input file %s in %s on line %d
50 Warning: openssl_cms_sign(): Error opening input file %s in %s on line %d
53 Warning: openssl_cms_sign(): Error opening output file %s in %s on line %d
56 Warning: openssl_cms_sign(): X.509 Certificate cannot be retrieved in %s on line %d
59 Warning: openssl_cms_sign(): X.509 Certificate cannot be retrieved in %s on line %d
62 Warning: openssl_cms_sign(): Error getting private key in %s on line %d