Lines Matching refs:openssl_pkcs7_decrypt
2 openssl_pkcs7_decrypt() tests
25 var_dump(openssl_pkcs7_decrypt($encrypted, $outfile, $single_cert, $privkey));
26 var_dump(openssl_pkcs7_decrypt($encrypted, $outfile, openssl_x509_read($single_cert), $privkey));
27 var_dump(openssl_pkcs7_decrypt($encrypted, $outfile, $single_cert, $wrong));
28 var_dump(openssl_pkcs7_decrypt($encrypted, $outfile, $wrong, $privkey));
29 var_dump(openssl_pkcs7_decrypt($encrypted, $outfile, null, $privkey));
30 var_dump(openssl_pkcs7_decrypt($wrong, $outfile, $single_cert, $privkey));
31 var_dump(openssl_pkcs7_decrypt($empty, $outfile, $single_cert, $privkey));
32 var_dump(openssl_pkcs7_decrypt($encrypted, $empty, $single_cert, $privkey));
33 var_dump(openssl_pkcs7_decrypt($encrypted, $outfile, $empty, $privkey));
34 var_dump(openssl_pkcs7_decrypt($encrypted, $outfile, $single_cert, $empty));
49 Warning: openssl_pkcs7_decrypt(): Unable to get private key in %s on line %d
52 Warning: openssl_pkcs7_decrypt(): X.509 Certificate cannot be retrieved in %s on line %d
55 Warning: openssl_pkcs7_decrypt(): X.509 Certificate cannot be retrieved in %s on line %d
61 Warning: openssl_pkcs7_decrypt(): X.509 Certificate cannot be retrieved in %s on line %d
64 Warning: openssl_pkcs7_decrypt(): Unable to get private key in %s on line %d