Searched refs:openssl_verify (Results 1 – 11 of 11) sorted by relevance
/php-src/ext/openssl/tests/ |
H A D | openssl_verify_basic.phpt | 2 openssl_verify() tests 7 $data = "Testing openssl_verify()"; 13 var_dump(openssl_verify($data, $sign, $pubkey, OPENSSL_ALGO_SHA256)); 14 var_dump(openssl_verify($data, $sign, $privkey, OPENSSL_ALGO_SHA256)); 15 var_dump(openssl_verify($data, $sign, $wrong, OPENSSL_ALGO_SHA256)); 16 var_dump(openssl_verify($data, $wrong, $pubkey, OPENSSL_ALGO_SHA256)); 17 var_dump(openssl_verify($wrong, $sign, $pubkey, OPENSSL_ALGO_SHA256)); 22 Warning: openssl_verify(): Supplied key param cannot be coerced into a public key in %s on line %d 25 Warning: openssl_verify(): Supplied key param cannot be coerced into a public key in %s on line %d
|
H A D | bug38255.phpt | 9 $ok = openssl_verify("foo", $signature, $pub_key_id, OPENSSL_ALGO_MD5); 19 var_dump(openssl_verify("foo", $signature, $pub_key_id, OPENSSL_ALGO_MD5)); 20 var_dump(openssl_verify("foo", $t, $pub_key_id, OPENSSL_ALGO_MD5)); 26 Warning: openssl_verify(): Supplied key param cannot be coerced into a public key in %s on line %d 28 Warning: openssl_verify(): Supplied key param cannot be coerced into a public key in %s on line %d 31 Warning: openssl_verify(): Supplied key param cannot be coerced into a public key in %s on line %d
|
H A D | bug37820.phpt | 22 $ok = openssl_verify($data, $signature, $pub_key_id, OPENSSL_ALGO_MD5); 26 echo "openssl_verify failed.";
|
H A D | ed25519.phpt | 45 echo "Testing openssl_sign and openssl_verify\n"; 49 var_dump(openssl_verify($payload, $signature, $pubkey1, 0)); 105 Testing openssl_sign and openssl_verify
|
H A D | ed448.phpt | 45 echo "Testing openssl_sign and openssl_verify\n"; 49 var_dump(openssl_verify($payload, $signature, $pubkey1, 0)); 105 Testing openssl_sign and openssl_verify
|
H A D | bug61930.phpt | 20 var_dump(openssl_verify($data, base64_decode($sig), $key, OPENSSL_ALGO_SHA256));
|
H A D | bug41033.phpt | 21 $valid = openssl_verify($ct, $signature, $pukeyid, OPENSSL_ALGO_SHA256);
|
H A D | bug81713.phpt | 63 ["openssl_verify", "test", "sig", $priv_key_file_null], 157 openssl_verify(): Argument #3 ($public_key) must not contain any null bytes
|
/php-src/ext/openssl/ |
H A D | openssl.stub.php | 609 function openssl_verify(string $data, string $signature, $public_key, string|int $algorithm = OPENS…
|
H A D | openssl_arginfo.h | 447 ZEND_FUNCTION(openssl_verify); 519 ZEND_FE(openssl_verify, arginfo_openssl_verify)
|
H A D | openssl.c | 7200 PHP_FUNCTION(openssl_verify) argument
|
Completed in 39 milliseconds