openssl_spki_export_challenge

PHP 5 >= 5.6.0, PHP 7, PHP 8
openssl_spki_export_challenge - Exports the challenge associated with a signed public key and challenge
Manual
Code Examples

openssl_spki_export_challenge( string$spki ): string|false

Exports challenge from encoded signed public key and challenge

Parameters

spki

Expects a valid signed public key and challenge

Return Values

Returns the associated challenge string 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_export_challenge

Show all examples for openssl_spki_export_challenge

PHP Version:


Function openssl_spki_export_challenge:

OpenSSL Functions

Most used PHP functions