1 1.1 christos =pod 2 1.1 christos 3 1.1 christos =head1 NAME 4 1.1 christos 5 1.1 christos openssl-gendsa, 6 1.1 christos gendsa - generate a DSA private key from a set of parameters 7 1.1 christos 8 1.1 christos =head1 SYNOPSIS 9 1.1 christos 10 1.1 christos B<openssl> B<gendsa> 11 1.1 christos [B<-help>] 12 1.1 christos [B<-out filename>] 13 1.1 christos [B<-aes128>] 14 1.1 christos [B<-aes192>] 15 1.1 christos [B<-aes256>] 16 1.1 christos [B<-aria128>] 17 1.1 christos [B<-aria192>] 18 1.1 christos [B<-aria256>] 19 1.1 christos [B<-camellia128>] 20 1.1 christos [B<-camellia192>] 21 1.1 christos [B<-camellia256>] 22 1.1 christos [B<-des>] 23 1.1 christos [B<-des3>] 24 1.1 christos [B<-idea>] 25 1.1 christos [B<-rand file...>] 26 1.1 christos [B<-writerand file>] 27 1.1 christos [B<-engine id>] 28 1.1 christos [B<paramfile>] 29 1.1 christos 30 1.1 christos =head1 DESCRIPTION 31 1.1 christos 32 1.1 christos The B<gendsa> command generates a DSA private key from a DSA parameter file 33 1.1 christos (which will be typically generated by the B<openssl dsaparam> command). 34 1.1 christos 35 1.1 christos =head1 OPTIONS 36 1.1 christos 37 1.1 christos =over 4 38 1.1 christos 39 1.1 christos =item B<-help> 40 1.1 christos 41 1.1 christos Print out a usage message. 42 1.1 christos 43 1.1 christos =item B<-out filename> 44 1.1 christos 45 1.1 christos Output the key to the specified file. If this argument is not specified then 46 1.1 christos standard output is used. 47 1.1 christos 48 1.1 christos =item B<-aes128>, B<-aes192>, B<-aes256>, B<-aria128>, B<-aria192>, B<-aria256>, B<-camellia128>, B<-camellia192>, B<-camellia256>, B<-des>, B<-des3>, B<-idea> 49 1.1 christos 50 1.1 christos These options encrypt the private key with specified 51 1.1 christos cipher before outputting it. A pass phrase is prompted for. 52 1.1 christos If none of these options is specified no encryption is used. 53 1.1 christos 54 1.1 christos =item B<-rand file...> 55 1.1 christos 56 1.1 christos A file or files containing random data used to seed the random number 57 1.1 christos generator. 58 1.1 christos Multiple files can be specified separated by an OS-dependent character. 59 1.1 christos The separator is B<;> for MS-Windows, B<,> for OpenVMS, and B<:> for 60 1.1 christos all others. 61 1.1 christos 62 1.1 christos =item [B<-writerand file>] 63 1.1 christos 64 1.1 christos Writes random data to the specified I<file> upon exit. 65 1.1 christos This can be used with a subsequent B<-rand> flag. 66 1.1 christos 67 1.1 christos =item B<-engine id> 68 1.1 christos 69 1.1 christos Specifying an engine (by its unique B<id> string) will cause B<gendsa> 70 1.1 christos to attempt to obtain a functional reference to the specified engine, 71 1.1 christos thus initialising it if needed. The engine will then be set as the default 72 1.1 christos for all available algorithms. 73 1.1 christos 74 1.1 christos =item B<paramfile> 75 1.1 christos 76 1.1 christos This option specifies the DSA parameter file to use. The parameters in this 77 1.1 christos file determine the size of the private key. DSA parameters can be generated 78 1.1 christos and examined using the B<openssl dsaparam> command. 79 1.1 christos 80 1.1 christos =back 81 1.1 christos 82 1.1 christos =head1 NOTES 83 1.1 christos 84 1.1 christos DSA key generation is little more than random number generation so it is 85 1.1 christos much quicker that RSA key generation for example. 86 1.1 christos 87 1.1 christos =head1 SEE ALSO 88 1.1 christos 89 1.1 christos L<dsaparam(1)>, L<dsa(1)>, L<genrsa(1)>, 90 1.1 christos L<rsa(1)> 91 1.1 christos 92 1.1 christos =head1 COPYRIGHT 93 1.1 christos 94 1.1 christos Copyright 2000-2018 The OpenSSL Project Authors. All Rights Reserved. 95 1.1 christos 96 1.1 christos Licensed under the OpenSSL license (the "License"). You may not use 97 1.1 christos this file except in compliance with the License. You can obtain a copy 98 1.1 christos in the file LICENSE in the source distribution or at 99 1.1 christos L<https://www.openssl.org/source/license.html>. 100 1.1 christos 101 1.1 christos =cut 102