Home
last modified time | relevance | path

Searched refs:openssl_verify (Results 1 – 9 of 9) sorted by relevance

/PHP-8.1/ext/openssl/tests/
H A Dopenssl_verify_basic.phpt2 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 Dbug38255.phpt9 $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 Dbug37820.phpt22 $ok = openssl_verify($data, $signature, $pub_key_id, OPENSSL_ALGO_MD5);
26 echo "openssl_verify failed.";
H A Dbug61930.phpt20 var_dump(openssl_verify($data, base64_decode($sig), $key, OPENSSL_ALGO_SHA256));
H A Dbug41033.phpt21 $valid = openssl_verify($ct, $signature, $pukeyid, OPENSSL_ALGO_SHA256);
H A Dbug81713.phpt63 ["openssl_verify", "test", "sig", $priv_key_file_null],
157 openssl_verify(): Argument #3 ($public_key) must not contain any null bytes
/PHP-8.1/ext/openssl/
H A Dopenssl_arginfo.h431 ZEND_FUNCTION(openssl_verify);
499 ZEND_FE(openssl_verify, arginfo_openssl_verify)
H A Dopenssl.stub.php199 function openssl_verify(string $data, string $signature, $public_key, string|int $algorithm = OPENS… function
H A Dopenssl.c6878 PHP_FUNCTION(openssl_verify) in PHP_FUNCTION() argument

Completed in 32 milliseconds