Lines Matching refs:openssl_public_decrypt
2 openssl_public_decrypt() tests
7 $data = "Testing openssl_public_decrypt()";
13 var_dump(openssl_public_decrypt($encrypted, $output, $pubkey));
15 var_dump(openssl_public_decrypt($encrypted, $output2, $wrong));
17 var_dump(openssl_public_decrypt($wrong, $output3, $pubkey));
21 var_dump(openssl_public_decrypt($encrypted, $output4, array()));
28 var_dump(openssl_public_decrypt($encrypted, $output5, array($pubkey)));
33 var_dump(openssl_public_decrypt($encrypted, $output6, array($pubkey, "")));
38 string(32) "Testing openssl_public_decrypt()"
40 Warning: openssl_public_decrypt(): key parameter is not a valid public key in %s on line %d
48 string(32) "Testing openssl_public_decrypt()"