1OPENSSL-DSAPARAM(1ossl) OpenSSL OPENSSL-DSAPARAM(1ossl)
2
3
4
6 openssl-dsaparam - DSA parameter manipulation and generation
7
9 openssl dsaparam [-help] [-inform DER|PEM] [-outform DER|PEM] [-in
10 filename] [-out filename] [-noout] [-text] [-genkey] [-verbose] [-rand
11 files] [-writerand file] [-engine id] [-provider name] [-provider-path
12 path] [-propquery propq] [numbits]
13
15 This command is used to manipulate or generate DSA parameter files.
16
17 DSA parameter generation can be a slow process and as a result the same
18 set of DSA parameters is often used to generate several distinct keys.
19
21 -help
22 Print out a usage message.
23
24 -inform DER|PEM
25 The DSA parameters input format; unspecified by default. See
26 openssl-format-options(1) for details.
27
28 -outform DER|PEM
29 The DSA parameters output format; the default is PEM. See
30 openssl-format-options(1) for details.
31
32 Parameters are a sequence of ASN.1 INTEGERs: p, q, and g. This is
33 compatible with RFC 2459 DSS-Parms structure.
34
35 -in filename
36 This specifies the input filename to read parameters from or
37 standard input if this option is not specified. If the numbits
38 parameter is included then this option will be ignored.
39
40 -out filename
41 This specifies the output filename parameters to. Standard output
42 is used if this option is not present. The output filename should
43 not be the same as the input filename.
44
45 -noout
46 This option inhibits the output of the encoded version of the
47 parameters.
48
49 -text
50 This option prints out the DSA parameters in human readable form.
51
52 -genkey
53 This option will generate a DSA either using the specified or
54 generated parameters.
55
56 -verbose
57 Print extra details about the operations being performed.
58
59 -rand files, -writerand file
60 See "Random State Options" in openssl(1) for details.
61
62 -engine id
63 See "Engine Options" in openssl(1). This option is deprecated.
64
65 numbits
66 This option specifies that a parameter set should be generated of
67 size numbits. It must be the last option. If this option is
68 included then the input file (if any) is ignored.
69
70 -provider name
71 -provider-path path
72 -propquery propq
73 See "Provider Options" in openssl(1), provider(7), and property(7).
74
76 openssl(1), openssl-pkeyparam(1), openssl-gendsa(1), openssl-dsa(1),
77 openssl-genrsa(1), openssl-rsa(1)
78
80 The -engine option was deprecated in OpenSSL 3.0.
81
82 The -C option was removed in OpenSSL 3.0.
83
85 Copyright 2000-2021 The OpenSSL Project Authors. All Rights Reserved.
86
87 Licensed under the Apache License 2.0 (the "License"). You may not use
88 this file except in compliance with the License. You can obtain a copy
89 in the file LICENSE in the source distribution or at
90 <https://www.openssl.org/source/license.html>.
91
92
93
943.0.5 2022-11-01 OPENSSL-DSAPARAM(1ossl)