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
<?php             }

            $signature = json_decode($signature, true);

            $signature = base64_decode($signature['sha384']);

            $verified = 1 === openssl_verify(file_get_contents($tempFilename), $signature, $pubkeyid, $algo);




            if (PHP_VERSION_ID < 80000) {