Refactor -engine documentation
[openssl.git] / doc / man1 / openssl-gendsa.pod.in
1 =pod
2 {- OpenSSL::safe::output_do_not_edit_headers(); -}
3
4 =head1 NAME
5
6 openssl-gendsa - generate a DSA private key from a set of parameters
7
8 =head1 SYNOPSIS
9
10 B<openssl> B<gendsa>
11 [B<-help>]
12 [B<-out> I<filename>]
13 [B<-aes128>]
14 [B<-aes192>]
15 [B<-aes256>]
16 [B<-aria128>]
17 [B<-aria192>]
18 [B<-aria256>]
19 [B<-camellia128>]
20 [B<-camellia192>]
21 [B<-camellia256>]
22 [B<-des>]
23 [B<-des3>]
24 [B<-idea>]
25 [B<-verbose>]
26 {- $OpenSSL::safe::opt_r_synopsis -}
27 {- $OpenSSL::safe::opt_engine_synopsis -}
28 [I<paramfile>]
29
30 =for openssl ifdef engine
31
32 =head1 DESCRIPTION
33
34 This command generates a DSA private key from a DSA parameter file
35 (which will be typically generated by the L<openssl-dsaparam(1)> command).
36
37 =head1 OPTIONS
38
39 =over 4
40
41 =item B<-help>
42
43 Print out a usage message.
44
45 =item B<-out> I<filename>
46
47 Output the key to the specified file. If this argument is not specified then
48 standard output is used.
49
50 =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>
51
52 These options encrypt the private key with specified
53 cipher before outputting it. A pass phrase is prompted for.
54 If none of these options is specified no encryption is used.
55
56 =item B<-verbose>
57
58 Print extra details about the operations being performed.
59
60 {- $OpenSSL::safe::opt_r_item -}
61
62 {- $OpenSSL::safe::opt_engine_item -}
63
64 =item I<paramfile>
65
66 The DSA parameter file to use. The parameters in this file determine
67 the size of the private key. DSA parameters can be generated and
68 examined using the L<openssl-dsaparam(1)> command.
69
70 =back
71
72 =head1 NOTES
73
74 DSA key generation is little more than random number generation so it is
75 much quicker that RSA key generation for example.
76
77 =head1 SEE ALSO
78
79 L<openssl(1)>,
80 L<openssl-dsaparam(1)>,
81 L<openssl-dsa(1)>,
82 L<openssl-genrsa(1)>,
83 L<openssl-rsa(1)>
84
85 =head1 COPYRIGHT
86
87 Copyright 2000-2019 The OpenSSL Project Authors. All Rights Reserved.
88
89 Licensed under the Apache License 2.0 (the "License").  You may not use
90 this file except in compliance with the License.  You can obtain a copy
91 in the file LICENSE in the source distribution or at
92 L<https://www.openssl.org/source/license.html>.
93
94 =cut