openssl_pkey_get_private
openssl_pkey_get_private
Get a private key
**openssl_pkey_get_private** $private_key $passphrase
parses
and prepares it for use by other functions.
openssl_pkey_get_private``private_key
private_key
can be one of the following:
`private_key`1. a string having the format . The named file must contain a encoded certificate/private key (it may contain both).
- A formatted private key.
passphrase
The optional parameter must be used
if the specified key is encrypted (protected by a passphrase).
passphrase
Returns an instance on success, or false on error.
OpenSSLAsymmetricKey