2 {- OpenSSL::safe::output_do_not_edit_headers(); -}
6 openssl-gendsa - generate a DSA private key from a set of parameters
27 {- $OpenSSL::safe::opt_r_synopsis -}
28 {- $OpenSSL::safe::opt_engine_synopsis -}
29 {- $OpenSSL::safe::opt_provider_synopsis -}
32 =for openssl ifdef engine
36 This command generates a DSA private key from a DSA parameter file
37 (which will be typically generated by the L<openssl-dsaparam(1)> command).
45 Print out a usage message.
47 =item B<-out> I<filename>
49 Output the key to the specified file. If this argument is not specified then
50 standard output is used.
52 =item B<-passout> I<arg>
54 The passphrase used for the output file.
55 See L<openssl(1)/Pass Phrase Options>.
57 =item B<-aes128>, B<-aes192>, B<-aes256>, B<-aria128>, B<-aria192>, B<-aria256>, B<-camellia128>, B<-camellia192>, B<-camellia256>, B<-des>, B<-des3>, B<-idea>
59 These options encrypt the private key with specified
60 cipher before outputting it. A pass phrase is prompted for.
61 If none of these options is specified no encryption is used.
65 Print extra details about the operations being performed.
67 {- $OpenSSL::safe::opt_r_item -}
69 {- $OpenSSL::safe::opt_engine_item -}
73 The DSA parameter file to use. The parameters in this file determine
74 the size of the private key. DSA parameters can be generated and
75 examined using the L<openssl-dsaparam(1)> command.
77 {- $OpenSSL::safe::opt_provider_item -}
83 DSA key generation is little more than random number generation so it is
84 much quicker that RSA key generation for example.
89 L<openssl-genpkey(1)>,
90 L<openssl-dsaparam(1)>,
97 Copyright 2000-2020 The OpenSSL Project Authors. All Rights Reserved.
99 Licensed under the Apache License 2.0 (the "License"). You may not use
100 this file except in compliance with the License. You can obtain a copy
101 in the file LICENSE in the source distribution or at
102 L<https://www.openssl.org/source/license.html>.