1DSAPARAM(1)                         OpenSSL                        DSAPARAM(1)
2
3
4

NAME

6       dsaparam - DSA parameter manipulation and generation
7

SYNOPSIS

9       openssl dsaparam [-inform DER|PEM] [-outform DER|PEM] [-in filename]
10       [-out filename] [-noout] [-text] [-C] [-rand file(s)] [-genkey]
11       [-engine id] [numbits]
12

DESCRIPTION

14       This command is used to manipulate or generate DSA parameter files.
15

OPTIONS

17       -inform DER|PEM
18           This specifies the input format. The DER option uses an ASN1 DER
19           encoded form compatible with RFC2459 (PKIX) DSS-Parms that is a
20           SEQUENCE consisting of p, q and g respectively. The PEM form is the
21           default format: it consists of the DER format base64 encoded with
22           additional header and footer lines.
23
24       -outform DER|PEM
25           This specifies the output format, the options have the same meaning
26           as the -inform option.
27
28       -in filename
29           This specifies the input filename to read parameters from or
30           standard input if this option is not specified. If the numbits
31           parameter is included then this option will be ignored.
32
33       -out filename
34           This specifies the output filename parameters to. Standard output
35           is used if this option is not present. The output filename should
36           not be the same as the input filename.
37
38       -noout
39           this option inhibits the output of the encoded version of the
40           parameters.
41
42       -text
43           this option prints out the DSA parameters in human readable form.
44
45       -C  this option converts the parameters into C code. The parameters can
46           then be loaded by calling the get_dsaXXX() function.
47
48       -genkey
49           this option will generate a DSA either using the specified or
50           generated parameters.
51
52       -rand file(s)
53           a file or files containing random data used to seed the random
54           number generator, or an EGD socket (see RAND_egd(3)).  Multiple
55           files can be specified separated by a OS-dependent character.  The
56           separator is ; for MS-Windows, , for OpenVMS, and : for all others.
57
58       numbits
59           this option specifies that a parameter set should be generated of
60           size numbits. It must be the last option. If this option is
61           included then the input file (if any) is ignored.
62
63       -engine id
64           specifying an engine (by its unique id string) will cause dsaparam
65           to attempt to obtain a functional reference to the specified
66           engine, thus initialising it if needed. The engine will then be set
67           as the default for all available algorithms.
68

NOTES

70       PEM format DSA parameters use the header and footer lines:
71
72        -----BEGIN DSA PARAMETERS-----
73        -----END DSA PARAMETERS-----
74
75       DSA parameter generation is a slow process and as a result the same set
76       of DSA parameters is often used to generate several distinct keys.
77

SEE ALSO

79       gendsa(1), dsa(1), genrsa(1), rsa(1)
80
81
82
831.0.2k                            2017-01-26                       DSAPARAM(1)
Impressum