openssl_pkey_new
(PHP 4 >= 4.2.0, PHP 5)
openssl_pkey_new — Generates a new private key
Описание
resource openssl_pkey_new
([ array $configargs
] )
Замечание:
You need to have a valid openssl.cnf installed for
this function to operate correctly.
See the notes under the installation
section for more information.
Список параметров
-
configargs
-
You can finetune the key generation (such as specifying the number of
bits) using configargs
. See
openssl_csr_new() for more information about
configargs
.
Возвращаемые значения
Returns a resource identifier for the pkey on success, or FALSE on
error.