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