typo
[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<paramfile>]
16
17 =head1 DESCRIPTION
18
19 The B<gendsa> command generates a DSA private key from a DSA parameter file
20 (which will be typically generated by the B<openssl dsaparam> command).
21
22 =head1 OPTIONS
23
24 =over 4
25
26 =item B<-des|-des3|-idea>
27
28 These options encrypt the private key with the DES, triple DES, or the 
29 IDEA ciphers respectively before outputting it. A pass phrase is prompted for.
30 If none of these options is specified no encryption is used.
31
32 =item B<-rand file(s)>
33
34 a file or files containing random data used to seed the random number
35 generator, or an EGD socket (see L<RAND_egd(3)|RAND_egd(3)>).
36 Multiple files can be specified separated by a OS-dependent character.
37 The separator is B<;> for MS-Windows, B<,> for OpenVMS, and B<:> for
38 all others.
39
40 =item B<paramfile>
41
42 This option specifies the DSA parameter file to use. The parameters in this
43 file determine the size of the private key. DSA parameters can be generated
44 and examined using the B<openssl dsaparam> command.
45
46 =back
47
48 =head1 NOTES
49
50 DSA key generation is little more than random number generation so it is
51 much quicker that RSA key generation for example.
52
53 =head1 SEE ALSO
54
55 L<dsaparam(1)|dsaparam(1)>, L<dsa(1)|dsa(1)>, L<genrsa(1)|genrsa(1)>,
56 L<rsa(1)|rsa(1)>
57
58 =cut