|
PHP5中文手册
openssl_pkey_new(PHP 4 >= 4.2.0, PHP 5) openssl_pkey_new — Generates a new private key 说明
resource openssl_pkey_new
([ array $configargs
] )
openssl_pkey_new() generates a new private and public key pair. The public component of the key can be obtained using openssl_pkey_get_public().
参数
返回值Returns a resource identifier for the pkey on success, or FALSE on error. |