|
|
| |
OpenXPKI::Crypto::Backend::OpenSSL::Command::create_pkey(3) |
User Contributed Perl Documentation |
OpenXPKI::Crypto::Backend::OpenSSL::Command::create_pkey(3) |
OpenXPKI::Crypto::Backend::OpenSSL::Command::create_pkey
This is a wrapper for the openssl genpkey command, most of the parameters are
passed as is to openssl. See the openssl manpage of genpkey for options.
If you want to use the engine then you must set ENGINE_USAGE ::=
ALWAYS||RANDOM||PRIV_KEY_GEN
- PASSWD
The password to encrypt the private key with, this is the only
mandatory parameter
- KEY_ALG
The key algorithm, default is RSA.
- ENC_ALG
Algorithm to encrypt the private key, default is aes256.
- PKEYOPT
A hashref of key/value pairs to be passed to pkeyopt. If value
is an array, multiple options are created using the same key. If order
of options is relevant wrap each key/value pair into an arrayref.
- PARAMFILE
Filename, passed to openssl paramfile.
Returns true if the request is created for the engine's key. Otherwise returns
false.
Returns the newly created PEM encoded PKCS#8 private key.
Visit the GSP FreeBSD Man Page Interface. Output converted with ManDoc. |