private function readPrivateKey($path) { if (($key = openssl_pkey_get_private('file://' . $path)) === FALSE) { throw new \RuntimeException(openssl_error_string()); } return $key; }