openssl_verify

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

            
$signature json_decode($signaturetrue);

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

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




            if (
PHP_VERSION_ID 80000) {