// shows the key details, plus the rsa, dsa or dh key details in hexadecimal
if ($resource) {
$array = openssl_pkey_get_details($resource);
$hex = array_map("bin2hex", $this->result["array"]["rsa"]);
}
';
public $synopsis = 'resource openssl_pkey_new ([ array $configargs ] )';
public $test_not_validated = true;
function post_exec_function()
{
if ($this->result['resource']) {
$this->result['array'] = openssl_pkey_get_details($this->result['resource']);
if (isset($this->result['array']['rsa'])) {
$this->result['hex'] = array_map('bin2hex', $this->result['array']['rsa']);