Russian Ukraine English
Catalog RSS


openssl_get_privatekey

(unknown)

openssl_get_privatekey -- Prepare a PEM formatted private key for use

Description

int openssl_get_privatekey (string key [, string passphrase])

Returns a positive key identifier on success, or false on error.

openssl_get_privatekey() parses the PEM formatted private key specified by key and prepares it for use by other functions. The optional parameter passphrase must be used if the specified key is encrypted (protected by a passphrase).

Led