(PHP 5 >= 5.2.0, PHP 7)
Returns an array with the key details
array openssl_pkey_get_details ( resource $key )
This function returns the key details (bits, key, type).
Parameters:
key
Resource holding the key.
Returns:
Returns an array with the key details in success or FALSE in failure. Returned array has indexes bits (number of bits), key (s