openssl_x509_verify
Supported Versions: PHP 7 >= 7.4.0, PHP 8
Verifies digital signature of x509 certificate against a public key
openssl_x509_verify
(
OpenSSLCertificate
|
string $certificate
,
OpenSSLAsymmetricKey
|
OpenSSLCertificate
|array|
string $public_key
):
int