openssl_spki_verify

PHP 5 >= 5.6.0, PHP 7, PHP 8
openssl_spki_verify - Verifies a signed public key and challenge
Manual
Code Examples

openssl_spki_verify( string$spki ): bool

Validates the supplied signed public key and challenge

Parameters

spki

Expects a valid signed public key and challenge

Return Values

Returns true on success or false on failure.

Exceptions and Errors

Emits an E_WARNING level error if an invalid argument is passed via the spki parameter.

Related Functions

Example of openssl_spki_verify

Show all examples for openssl_spki_verify

PHP Version:


Function openssl_spki_verify:

OpenSSL Functions

Most used PHP functions