1GENDSA(1)                           OpenSSL                          GENDSA(1)
2
3
4

NAME

6       gendsa - generate a DSA private key from a set of parameters
7

SYNOPSIS

9       openssl gendsa [-out filename] [-aes128] [-aes192] [-aes256]
10       [-camellia128] [-camellia192] [-camellia256] [-des] [-des3] [-idea]
11       [-rand file(s)] [-engine id] [paramfile]
12

DESCRIPTION

14       The gendsa command generates a DSA private key from a DSA parameter
15       file (which will be typically generated by the openssl dsaparam
16       command).
17

OPTIONS

19       -aes128|-aes192|-aes256|-camellia128|-camellia192|-camellia256|-des|-des3|-idea
20           These options encrypt the private key with specified cipher before
21           outputting it. A pass phrase is prompted for.  If none of these
22           options is specified no 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

NOTES

42       DSA key generation is little more than random number generation so it
43       is much quicker that RSA key generation for example.
44

SEE ALSO

46       dsaparam(1), dsa(1), genrsa(1), rsa(1)
47
48
49
501.0.2k                            2017-01-26                         GENDSA(1)
Impressum