Correct punctuation.
[openssl.git] / doc / apps / gendsa.pod
1 =pod
2
3 =head1 NAME
4
5 gendsa - generate a DSA private key from a set of parameters
6
7 =head1 SYNOPSIS
8
9 B<openssl> B<gendsa>
10 [B<-out filename>]
11 [B<-des>]
12 [B<-des3>]
13 [B<-idea>]
14 [B<-rand file(s)>]
15 [B<-engine id>]
16 [B<paramfile>]
17
18 =head1 DESCRIPTION
19
20 The B<gendsa> command generates a DSA private key from a DSA parameter file
21 (which will be typically generated by the B<openssl dsaparam> command).
22
23 =head1 OPTIONS
24
25 =over 4
26
27 =item B<-des|-des3|-idea>
28
29 These options encrypt the private key with the DES, triple DES, or the 
30 IDEA ciphers respectively before outputting it. A pass phrase is prompted for.
31 If none of these options is specified no encryption is used.
32
33 =item B<-rand file(s)>
34
35 a file or files containing random data used to seed the random number
36 generator, or an EGD socket (see L<RAND_egd(3)|RAND_egd(3)>).
37 Multiple files can be specified separated by a OS-dependent character.
38 The separator is B<;> for MS-Windows, B<,> for OpenVMS, and B<:> for
39 all others.
40
41 =item B<-engine id>
42
43 specifying an engine (by it's unique B<id> string) will cause B<req>
44 to attempt to obtain a functional reference to the specified engine,
45 thus initialising it if needed. The engine will then be set as the default
46 for all available algorithms.
47
48 =item B<paramfile>
49
50 This option specifies the DSA parameter file to use. The parameters in this
51 file determine the size of the private key. DSA parameters can be generated
52 and examined using the B<openssl dsaparam> command.
53
54 =back
55
56 =head1 NOTES
57
58 DSA key generation is little more than random number generation so it is
59 much quicker that RSA key generation for example.
60
61 =head1 SEE ALSO
62
63 L<dsaparam(1)|dsaparam(1)>, L<dsa(1)|dsa(1)>, L<genrsa(1)|genrsa(1)>,
64 L<rsa(1)|rsa(1)>
65
66 =cut