Lines Matching refs:openssl_pkcs7_decrypt
2 openssl_pkcs7_decrypt() tests
24 var_dump(openssl_pkcs7_decrypt($encrypted, $outfile, $single_cert, $privkey));
25 var_dump(openssl_pkcs7_decrypt($encrypted, $outfile, openssl_x509_read($single_cert), $privkey));
26 var_dump(openssl_pkcs7_decrypt($encrypted, $outfile, $single_cert, $wrong));
27 var_dump(openssl_pkcs7_decrypt($encrypted, $outfile, $wrong, $privkey));
28 var_dump(openssl_pkcs7_decrypt($encrypted, $outfile, null, $privkey));
29 var_dump(openssl_pkcs7_decrypt($wrong, $outfile, $single_cert, $privkey));
30 var_dump(openssl_pkcs7_decrypt($empty, $outfile, $single_cert, $privkey));
31 var_dump(openssl_pkcs7_decrypt($encrypted, $empty, $single_cert, $privkey));
32 var_dump(openssl_pkcs7_decrypt($encrypted, $outfile, $empty, $privkey));
33 var_dump(openssl_pkcs7_decrypt($encrypted, $outfile, $single_cert, $empty));
48 Warning: openssl_pkcs7_decrypt(): unable to get private key in %s on line %d
51 Warning: openssl_pkcs7_decrypt(): unable to coerce parameter 3 to x509 cert in %s on line %d
54 Warning: openssl_pkcs7_decrypt(): unable to coerce parameter 3 to x509 cert in %s on line %d
60 Warning: openssl_pkcs7_decrypt(): unable to coerce parameter 3 to x509 cert in %s on line %d
63 Warning: openssl_pkcs7_decrypt(): unable to get private key in %s on line %d