PHP.nl

openssl_pkey_export

openssl_pkey_export

Gets an exportable representation of a key into a string

bool **openssl_pkey_export**  $key string $output  $passphrase  $options
exports
as a  encoded string and stores it into
(which is passed by reference).

openssl_pkey_export``key``output

key

output

passphrase The key is optionally protected by . 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