1999-11-10 10:52:17 +08:00
|
|
|
=pod
|
2019-10-31 11:35:08 +08:00
|
|
|
{- OpenSSL::safe::output_do_not_edit_headers(); -}
|
2019-10-13 05:45:56 +08:00
|
|
|
|
1999-11-10 10:52:17 +08:00
|
|
|
=head1 NAME
|
|
|
|
|
2019-08-22 07:04:41 +08:00
|
|
|
openssl-dsaparam - DSA parameter manipulation and generation
|
1999-11-10 10:52:17 +08:00
|
|
|
|
|
|
|
=head1 SYNOPSIS
|
|
|
|
|
|
|
|
B<openssl dsaparam>
|
2016-02-06 00:58:45 +08:00
|
|
|
[B<-help>]
|
2019-09-26 03:20:11 +08:00
|
|
|
[B<-inform> B<DER>|B<PEM>]
|
|
|
|
[B<-outform> B<DER>|B<PEM>]
|
|
|
|
[B<-in> I<filename>]
|
|
|
|
[B<-out> I<filename>]
|
1999-11-10 10:52:17 +08:00
|
|
|
[B<-noout>]
|
|
|
|
[B<-text>]
|
|
|
|
[B<-C>]
|
|
|
|
[B<-genkey>]
|
2018-08-10 05:19:19 +08:00
|
|
|
[B<-verbose>]
|
2019-10-13 05:45:56 +08:00
|
|
|
{- $OpenSSL::safe::opt_r_synopsis -}
|
2019-10-13 05:45:56 +08:00
|
|
|
{- $OpenSSL::safe::opt_engine_synopsis -}
|
2019-09-26 03:20:11 +08:00
|
|
|
[I<numbits>]
|
1999-11-10 10:52:17 +08:00
|
|
|
|
|
|
|
=head1 DESCRIPTION
|
|
|
|
|
2020-02-07 06:09:53 +08:00
|
|
|
This command has been deprecated.
|
|
|
|
The L<openssl-pkeyparam(1)> command should be used instead.
|
|
|
|
|
1999-11-10 10:52:17 +08:00
|
|
|
This command is used to manipulate or generate DSA parameter files.
|
|
|
|
|
2019-10-10 09:48:33 +08:00
|
|
|
DSA parameter generation can be a slow process and as a result the same set of
|
|
|
|
DSA parameters is often used to generate several distinct keys.
|
|
|
|
|
1999-11-10 10:52:17 +08:00
|
|
|
=head1 OPTIONS
|
|
|
|
|
|
|
|
=over 4
|
|
|
|
|
2016-02-06 00:58:45 +08:00
|
|
|
=item B<-help>
|
|
|
|
|
|
|
|
Print out a usage message.
|
|
|
|
|
2019-10-10 09:48:33 +08:00
|
|
|
=item B<-inform> B<DER>|B<PEM>, B<-outform> B<DER>|B<PEM>
|
1999-11-10 10:52:17 +08:00
|
|
|
|
2019-10-10 09:48:33 +08:00
|
|
|
The input and formats; the default is B<PEM>.
|
|
|
|
See L<openssl(1)/Format Options> for details.
|
1999-11-10 10:52:17 +08:00
|
|
|
|
2019-10-10 09:48:33 +08:00
|
|
|
Parameters are a sequence of B<ASN.1 INTEGER>s: B<p>, B<q>, and B<g>.
|
|
|
|
This is compatible with RFC 2459 B<DSS-Parms> structure.
|
1999-11-10 10:52:17 +08:00
|
|
|
|
2019-09-26 03:20:11 +08:00
|
|
|
=item B<-in> I<filename>
|
1999-11-10 10:52:17 +08:00
|
|
|
|
|
|
|
This specifies the input filename to read parameters from or standard input if
|
2019-10-02 00:16:29 +08:00
|
|
|
this option is not specified. If the I<numbits> parameter is included then
|
1999-11-10 10:52:17 +08:00
|
|
|
this option will be ignored.
|
|
|
|
|
2019-09-26 03:20:11 +08:00
|
|
|
=item B<-out> I<filename>
|
1999-11-10 10:52:17 +08:00
|
|
|
|
|
|
|
This specifies the output filename parameters to. Standard output is used
|
|
|
|
if this option is not present. The output filename should B<not> be the same
|
|
|
|
as the input filename.
|
|
|
|
|
|
|
|
=item B<-noout>
|
|
|
|
|
2017-03-30 05:38:30 +08:00
|
|
|
This option inhibits the output of the encoded version of the parameters.
|
1999-11-10 10:52:17 +08:00
|
|
|
|
|
|
|
=item B<-text>
|
|
|
|
|
2017-03-30 05:38:30 +08:00
|
|
|
This option prints out the DSA parameters in human readable form.
|
1999-11-10 10:52:17 +08:00
|
|
|
|
|
|
|
=item B<-C>
|
|
|
|
|
2017-03-30 05:38:30 +08:00
|
|
|
This option converts the parameters into C code. The parameters can then
|
2015-11-20 04:49:30 +08:00
|
|
|
be loaded by calling the get_dsaXXX() function.
|
1999-11-10 10:52:17 +08:00
|
|
|
|
|
|
|
=item B<-genkey>
|
|
|
|
|
2017-03-30 05:38:30 +08:00
|
|
|
This option will generate a DSA either using the specified or generated
|
1999-11-10 10:52:17 +08:00
|
|
|
parameters.
|
|
|
|
|
2003-01-31 06:02:27 +08:00
|
|
|
|
2018-08-10 05:19:19 +08:00
|
|
|
=item B<-verbose>
|
|
|
|
|
|
|
|
Print extra details about the operations being performed.
|
|
|
|
|
2019-10-13 05:45:56 +08:00
|
|
|
{- $OpenSSL::safe::opt_r_item -}
|
|
|
|
|
2019-10-13 05:45:56 +08:00
|
|
|
{- $OpenSSL::safe::opt_engine_item -}
|
|
|
|
|
2019-10-02 00:16:29 +08:00
|
|
|
=item I<numbits>
|
2018-08-10 05:19:19 +08:00
|
|
|
|
|
|
|
This option specifies that a parameter set should be generated of size
|
2019-10-02 00:16:29 +08:00
|
|
|
I<numbits>. It must be the last option. If this option is included then
|
2018-08-10 05:19:19 +08:00
|
|
|
the input file (if any) is ignored.
|
|
|
|
|
1999-11-10 10:52:17 +08:00
|
|
|
=back
|
|
|
|
|
|
|
|
=head1 SEE ALSO
|
|
|
|
|
2019-08-22 07:04:41 +08:00
|
|
|
L<openssl(1)>,
|
2020-02-07 06:09:53 +08:00
|
|
|
L<openssl-pkeyparam(1)>,
|
2019-08-22 07:04:41 +08:00
|
|
|
L<openssl-gendsa(1)>,
|
|
|
|
L<openssl-dsa(1)>,
|
|
|
|
L<openssl-genrsa(1)>,
|
|
|
|
L<openssl-rsa(1)>
|
1999-11-10 10:52:17 +08:00
|
|
|
|
2020-02-07 06:09:53 +08:00
|
|
|
=head1 HISTORY
|
|
|
|
|
|
|
|
This command was deprecated in OpenSSL 3.0.
|
|
|
|
|
2016-05-18 23:44:05 +08:00
|
|
|
=head1 COPYRIGHT
|
|
|
|
|
2019-08-22 07:04:41 +08:00
|
|
|
Copyright 2000-2019 The OpenSSL Project Authors. All Rights Reserved.
|
2016-05-18 23:44:05 +08:00
|
|
|
|
2018-12-06 21:04:11 +08:00
|
|
|
Licensed under the Apache License 2.0 (the "License"). You may not use
|
2016-05-18 23:44:05 +08:00
|
|
|
this file except in compliance with the License. You can obtain a copy
|
|
|
|
in the file LICENSE in the source distribution or at
|
|
|
|
L<https://www.openssl.org/source/license.html>.
|
|
|
|
|
|
|
|
=cut
|