|
openssl_verifyVerify signature Description
int openssl_verify
( string
$data
, string $signature
, mixed $pub_key_id
[, mixed $signature_alg = OPENSSL_ALGO_SHA1
] )
openssl_verify verifies that the
Parameters
Return ValuesReturns 1 if the signature is correct, 0 if it is incorrect, and -1 on error. Changelog
Examples
Example #1 openssl_verify example
<?php Example #2 openssl_verify example
<?php See Also
|