2 {- OpenSSL::safe::output_do_not_edit_headers(); -}
6 openssl-dsaparam - DSA parameter manipulation and generation
12 [B<-inform> B<DER>|B<PEM>]
13 [B<-outform> B<DER>|B<PEM>]
21 {- $OpenSSL::safe::opt_r_synopsis -}
22 {- $OpenSSL::safe::opt_engine_synopsis -}
27 This command has been deprecated.
28 The L<openssl-pkeyparam(1)> command should be used instead.
30 This command is used to manipulate or generate DSA parameter files.
32 DSA parameter generation can be a slow process and as a result the same set of
33 DSA parameters is often used to generate several distinct keys.
41 Print out a usage message.
43 =item B<-inform> B<DER>|B<PEM>, B<-outform> B<DER>|B<PEM>
45 The input and formats; the default is B<PEM>.
46 See L<openssl(1)/Format Options> for details.
48 Parameters are a sequence of B<ASN.1 INTEGER>s: B<p>, B<q>, and B<g>.
49 This is compatible with RFC 2459 B<DSS-Parms> structure.
51 =item B<-in> I<filename>
53 This specifies the input filename to read parameters from or standard input if
54 this option is not specified. If the I<numbits> parameter is included then
55 this option will be ignored.
57 =item B<-out> I<filename>
59 This specifies the output filename parameters to. Standard output is used
60 if this option is not present. The output filename should B<not> be the same
61 as the input filename.
65 This option inhibits the output of the encoded version of the parameters.
69 This option prints out the DSA parameters in human readable form.
73 This option converts the parameters into C code. The parameters can then
74 be loaded by calling the get_dsaXXX() function.
78 This option will generate a DSA either using the specified or generated
84 Print extra details about the operations being performed.
86 {- $OpenSSL::safe::opt_r_item -}
88 {- $OpenSSL::safe::opt_engine_item -}
92 This option specifies that a parameter set should be generated of size
93 I<numbits>. It must be the last option. If this option is included then
94 the input file (if any) is ignored.
101 L<openssl-pkeyparam(1)>,
102 L<openssl-gendsa(1)>,
104 L<openssl-genrsa(1)>,
109 This command was deprecated in OpenSSL 3.0.
113 Copyright 2000-2019 The OpenSSL Project Authors. All Rights Reserved.
115 Licensed under the Apache License 2.0 (the "License"). You may not use
116 this file except in compliance with the License. You can obtain a copy
117 in the file LICENSE in the source distribution or at
118 L<https://www.openssl.org/source/license.html>.