1 1.1 christos =pod 2 1.1 christos {- OpenSSL::safe::output_do_not_edit_headers(); -} 3 1.1 christos 4 1.1 christos =head1 NAME 5 1.1 christos 6 1.1 christos openssl-dsaparam - DSA parameter manipulation and generation 7 1.1 christos 8 1.1 christos =head1 SYNOPSIS 9 1.1 christos 10 1.1 christos B<openssl dsaparam> 11 1.1 christos [B<-help>] 12 1.1 christos [B<-inform> B<DER>|B<PEM>] 13 1.1 christos [B<-outform> B<DER>|B<PEM>] 14 1.1 christos [B<-in> I<filename>] 15 1.1 christos [B<-out> I<filename>] 16 1.1 christos [B<-noout>] 17 1.1 christos [B<-text>] 18 1.1 christos [B<-genkey>] 19 1.1 christos [B<-verbose>] 20 1.1 christos {- $OpenSSL::safe::opt_r_synopsis -} 21 1.1 christos {- $OpenSSL::safe::opt_engine_synopsis -}{- $OpenSSL::safe::opt_provider_synopsis -} 22 1.1 christos [I<numbits>] 23 1.1 christos 24 1.1 christos =head1 DESCRIPTION 25 1.1 christos 26 1.1 christos This command is used to manipulate or generate DSA parameter files. 27 1.1 christos 28 1.1 christos DSA parameter generation can be a slow process and as a result the same set of 29 1.1 christos DSA parameters is often used to generate several distinct keys. 30 1.1 christos 31 1.1 christos =head1 OPTIONS 32 1.1 christos 33 1.1 christos =over 4 34 1.1 christos 35 1.1 christos =item B<-help> 36 1.1 christos 37 1.1 christos Print out a usage message. 38 1.1 christos 39 1.1 christos =item B<-inform> B<DER>|B<PEM> 40 1.1 christos 41 1.1 christos The DSA parameters input format; unspecified by default. 42 1.1 christos See L<openssl-format-options(1)> for details. 43 1.1 christos 44 1.1 christos =item B<-outform> B<DER>|B<PEM> 45 1.1 christos 46 1.1 christos The DSA parameters output format; the default is B<PEM>. 47 1.1 christos See L<openssl-format-options(1)> for details. 48 1.1 christos 49 1.1 christos Parameters are a sequence of B<ASN.1 INTEGER>s: B<p>, B<q>, and B<g>. 50 1.1 christos This is compatible with RFC 2459 B<DSS-Parms> structure. 51 1.1 christos 52 1.1 christos =item B<-in> I<filename> 53 1.1 christos 54 1.1 christos This specifies the input filename to read parameters from or standard input if 55 1.1 christos this option is not specified. If the I<numbits> parameter is included then 56 1.1 christos this option will be ignored. 57 1.1 christos 58 1.1 christos =item B<-out> I<filename> 59 1.1 christos 60 1.1 christos This specifies the output filename parameters to. Standard output is used 61 1.1 christos if this option is not present. The output filename should B<not> be the same 62 1.1 christos as the input filename. 63 1.1 christos 64 1.1 christos =item B<-noout> 65 1.1 christos 66 1.1 christos This option inhibits the output of the encoded version of the parameters. 67 1.1 christos 68 1.1 christos =item B<-text> 69 1.1 christos 70 1.1 christos This option prints out the DSA parameters in human readable form. 71 1.1 christos 72 1.1 christos =item B<-genkey> 73 1.1 christos 74 1.1 christos This option will generate a DSA either using the specified or generated 75 1.1 christos parameters. 76 1.1 christos 77 1.1 christos 78 1.1 christos =item B<-verbose> 79 1.1 christos 80 1.1 christos Print extra details about the operations being performed. 81 1.1 christos 82 1.1 christos {- $OpenSSL::safe::opt_r_item -} 83 1.1 christos 84 1.1 christos {- $OpenSSL::safe::opt_engine_item -} 85 1.1 christos 86 1.1 christos =item I<numbits> 87 1.1 christos 88 1.1 christos This option specifies that a parameter set should be generated of size 89 1.1 christos I<numbits>. It must be the last option. If this option is included then 90 1.1 christos the input file (if any) is ignored. 91 1.1 christos 92 1.1 christos {- $OpenSSL::safe::opt_provider_item -} 93 1.1 christos 94 1.1 christos =back 95 1.1 christos 96 1.1 christos =head1 SEE ALSO 97 1.1 christos 98 1.1 christos L<openssl(1)>, 99 1.1 christos L<openssl-pkeyparam(1)>, 100 1.1 christos L<openssl-gendsa(1)>, 101 1.1 christos L<openssl-dsa(1)>, 102 1.1 christos L<openssl-genrsa(1)>, 103 1.1 christos L<openssl-rsa(1)> 104 1.1 christos 105 1.1 christos =head1 HISTORY 106 1.1 christos 107 1.1 christos The B<-engine> option was deprecated in OpenSSL 3.0. 108 1.1 christos 109 1.1 christos The B<-C> option was removed in OpenSSL 3.0. 110 1.1 christos 111 1.1 christos =head1 COPYRIGHT 112 1.1 christos 113 1.1 christos Copyright 2000-2021 The OpenSSL Project Authors. All Rights Reserved. 114 1.1 christos 115 1.1 christos Licensed under the Apache License 2.0 (the "License"). You may not use 116 1.1 christos this file except in compliance with the License. You can obtain a copy 117 1.1 christos in the file LICENSE in the source distribution or at 118 1.1 christos L<https://www.openssl.org/source/license.html>. 119 1.1 christos 120 1.1 christos =cut 121