openssl_pkey_get_private

Supported Versions: PHP 4 >= 4.2.0, PHP 5, PHP 7, PHP 8
Get a private key
openssl_pkey_get_private(OpenSSLAsymmetricKey|OpenSSLCertificate|array|string $private_key, ?string $passphrase null): OpenSSLAsymmetricKey|false