php man page for openssl_pkey_new

Query: openssl_pkey_new

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

OPENSSL_PKEY_NEW(3)							 1						       OPENSSL_PKEY_NEW(3)

openssl_pkey_new - Generates a new private key

SYNOPSIS
resource openssl_pkey_new ([array $configargs])
DESCRIPTION
openssl_pkey_new(3) generates a new private and public key pair. The public component of the key can be obtained using openssl_pkey_get_public(3). Note 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.
PARAMETERS
o $configargs - You can finetune the key generation (such as specifying the number of bits) using $configargs. See openssl_csr_new(3) for more information about $configargs.
RETURN VALUES
Returns a resource identifier for the pkey on success, or FALSE on error. PHP Documentation Group OPENSSL_PKEY_NEW(3)
Related Man Pages
openssl_public_encrypt(3) - php
openssl_verify(3) - php
openssl_spki_export_challenge(3) - php
ssh2_publickey_add(3) - php
pkey(1ssl) - minix
Similar Topics in the Unix Linux Community
User Guide: Posting in the Emergency Forum
UNIX.COM 2017 Year End Summary
New Code Tags (Syntax Highlighting)
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Don Cragun
Please Welcome Nicki Paul to the Moderator Team!