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