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