GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
OpenXPKI::Server::Workflow::Activity::Tools::GenerateKey(3) User Contributed Perl Documentation OpenXPKI::Server::Workflow::Activity::Tools::GenerateKey(3)

OpenXPKI::Server::Workflow::Activity::Tools::GenerateKey

Creates a new (encrypted) private key with the parameters given. The only mandatory parameter is the password, the others default to a rsa 2048 bit key encrypted with aes256.

For details on the parameters please see the documentation of the generate_key API method.

The key specification parameters are not validated and handed over to the generate_key method of the crypto token.
key_alg
Mapped unmodified to key_alg of the api method, set to 'rsa' of not set.
enc_alg
Mapped unmodified to key_alg of the api method, set to 'aes256' of not set.
password
Password to encrypt the key with, mandatory.
key_gen_params
If parameter is given, it must be a hash. The values given in the key curve_name and key_length are mapped to the api method as is. Other keys are silently ignored, no defaults are applied (default key lenght for RSA/DSA is set in the API method).
target_key
The context value to write the encrypted key to. Default is private_key.
2022-05-14 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.