b702a4f3873af4b83e717938ac67922c84369256
[openssl.git] / doc / man / 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:file>]
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:file>
33
34 a file or files containing random data used to seed the random number
35 generator. Multiple files can be specified separated by B<:>.
36
37 =item B<paramfile>
38
39 This option specifies the DSA parameter file to use. The parameters in this
40 file determine the size of the private key. DSA parameters can be generated
41 and examined using the B<openssl dsaparam> command.
42
43 =back
44
45 =head1 NOTES
46
47 DSA key generation is little more than random number generation so it is
48 much quicker that RSA key generation for example.
49
50 =head1 SEE ALSO
51
52 dsaparam(1), dsa(1), genrsa(1), rsa(1)
53
54 =cut