1GENDSA(1) OpenSSL GENDSA(1)
2
3
4
6 gendsa - generate a DSA private key from a set of parameters
7
9 openssl gendsa [-out filename] [-des] [-des3] [-idea] [-rand file(s)]
10 [-engine id] [paramfile]
11
13 The gendsa command generates a DSA private key from a DSA parameter
14 file (which will be typically generated by the openssl dsaparam
15 command).
16
18 -des|-des3|-idea
19 These options encrypt the private key with the DES, triple DES, or
20 the IDEA ciphers respectively before outputting it. A pass phrase
21 is prompted for. If none of these options is specified no
22 encryption is used.
23
24 -rand file(s)
25 a file or files containing random data used to seed the random
26 number generator, or an EGD socket (see RAND_egd(3)). Multiple
27 files can be specified separated by a OS-dependent character. The
28 separator is ; for MS-Windows, , for OpenVMS, and : for all others.
29
30 -engine id
31 specifying an engine (by its unique id string) will cause gendsa to
32 attempt to obtain a functional reference to the specified engine,
33 thus initialising it if needed. The engine will then be set as the
34 default for all available algorithms.
35
36 paramfile
37 This option specifies the DSA parameter file to use. The parameters
38 in this file determine the size of the private key. DSA parameters
39 can be generated and examined using the openssl dsaparam command.
40
42 DSA key generation is little more than random number generation so it
43 is much quicker that RSA key generation for example.
44
46 dsaparam(1), dsa(1), genrsa(1), rsa(1)
47
48
49
501.0.0e 2009-04-10 GENDSA(1)