openssl_pkey_get_details

Supported Versions: PHP 5 >= 5.2.0, PHP 7, PHP 8
Returns an array with the key details
<?php openssl_pkey_get_details(OpenSSLAsymmetricKey $key): array|false