private getPrivateKeyString ( resource $keyResource ) : string | ||
$keyResource | resource | The key resource |
return | string | The private key string |
private function getPrivateKeyString($keyResource)
{
openssl_pkey_export($keyResource, $privateKeyString, null, $this->openSSLConfiguration);
return $privateKeyString;
}