openssl_spki_verify

Supported Versions: PHP 5 >= 5.6.0, PHP 7, PHP 8
Verifies a signed public key and challenge
<?php openssl_spki_verify(string $spki): bool