PHP.nl

openssl_pkey_export_to_file

openssl_pkey_export_to_file

Gets an exportable representation of a key into a file

bool **openssl_pkey_export_to_file**  $key string $output_filename  $passphrase  $options
saves an ascii-armoured

( encoded) rendition of into the file named by .
openssl_pkey_export_to_file``key``output_filename

key

output_filenamePath to the output file.

passphrase The key can be optionally protected by a . passphrase

options can be used to fine-tune the export process by specifying and/or overriding options for the openssl configuration file. See for more information about . options``openssl_csr_new``options

return.success