1=pod 2 3=head1 NAME 4 5gendsa - generate a DSA private key from a set of parameters 6 7=head1 SYNOPSIS 8 9B<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 26The 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 35These options encrypt the private key with specified 36cipher before outputting it. A pass phrase is prompted for. 37If none of these options is specified no encryption is used. 38 39=item B<-rand file(s)> 40 41a file or files containing random data used to seed the random number 42generator, or an EGD socket (see L<RAND_egd(3)|RAND_egd(3)>). 43Multiple files can be specified separated by a OS-dependent character. 44The separator is B<;> for MS-Windows, B<,> for OpenVMS, and B<:> for 45all others. 46 47=item B<-engine id> 48 49specifying an engine (by its unique B<id> string) will cause B<gendsa> 50to attempt to obtain a functional reference to the specified engine, 51thus initialising it if needed. The engine will then be set as the default 52for all available algorithms. 53 54=item B<paramfile> 55 56This option specifies the DSA parameter file to use. The parameters in this 57file determine the size of the private key. DSA parameters can be generated 58and examined using the B<openssl dsaparam> command. 59 60=back 61 62=head1 NOTES 63 64DSA key generation is little more than random number generation so it is 65much quicker that RSA key generation for example. 66 67=head1 SEE ALSO 68 69L<dsaparam(1)|dsaparam(1)>, L<dsa(1)|dsa(1)>, L<genrsa(1)|genrsa(1)>, 70L<rsa(1)|rsa(1)> 71 72=cut 73