Home
last modified time | relevance | path

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

/php-src/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 Ded25519.phpt45 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 Ded448.phpt45 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 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-src/ext/openssl/
H A Dopenssl.stub.php609 function openssl_verify(string $data, string $signature, $public_key, string|int $algorithm = OPENS…
H A Dopenssl_arginfo.h447 ZEND_FUNCTION(openssl_verify);
519 ZEND_FE(openssl_verify, arginfo_openssl_verify)
H A Dopenssl.c7200 PHP_FUNCTION(openssl_verify) argument

Completed in 39 milliseconds