openssl_verify

Supported Versions: PHP 4 >= 4.0.4, PHP 5, PHP 7, PHP 8
Verify signature
<?php openssl_verify(    string $data,    string $signature,    OpenSSLAsymmetricKey|OpenSSLCertificate|array|string $public_key,    string|int $algorithm = OPENSSL_ALGO_SHA1): int|false