170 lines
5.6 KiB
HTML
170 lines
5.6 KiB
HTML
|
<?xml version="1.0" ?>
|
||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||
|
<head>
|
||
|
<title>openssl-dsaparam</title>
|
||
|
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
||
|
<link rev="made" href="mailto:root@localhost" />
|
||
|
</head>
|
||
|
|
||
|
<body style="background-color: white">
|
||
|
|
||
|
|
||
|
<!-- INDEX BEGIN -->
|
||
|
<div name="index">
|
||
|
<p><a name="__index__"></a></p>
|
||
|
|
||
|
<ul>
|
||
|
|
||
|
<li><a href="#name">NAME</a></li>
|
||
|
<li><a href="#synopsis">SYNOPSIS</a></li>
|
||
|
<li><a href="#description">DESCRIPTION</a></li>
|
||
|
<li><a href="#options">OPTIONS</a></li>
|
||
|
<li><a href="#see_also">SEE ALSO</a></li>
|
||
|
<li><a href="#history">HISTORY</a></li>
|
||
|
<li><a href="#copyright">COPYRIGHT</a></li>
|
||
|
</ul>
|
||
|
|
||
|
<hr name="index" />
|
||
|
</div>
|
||
|
<!-- INDEX END -->
|
||
|
|
||
|
<p>
|
||
|
</p>
|
||
|
<hr />
|
||
|
<h1><a name="name">NAME</a></h1>
|
||
|
<p>openssl-dsaparam - DSA parameter manipulation and generation</p>
|
||
|
<p>
|
||
|
</p>
|
||
|
<hr />
|
||
|
<h1><a name="synopsis">SYNOPSIS</a></h1>
|
||
|
<p><strong>openssl dsaparam</strong>
|
||
|
[<strong>-help</strong>]
|
||
|
[<strong>-inform</strong> <strong>DER</strong>|<strong>PEM</strong>]
|
||
|
[<strong>-outform</strong> <strong>DER</strong>|<strong>PEM</strong>]
|
||
|
[<strong>-in</strong> <em>filename</em>]
|
||
|
[<strong>-out</strong> <em>filename</em>]
|
||
|
[<strong>-noout</strong>]
|
||
|
[<strong>-text</strong>]
|
||
|
[<strong>-C</strong>]
|
||
|
[<strong>-genkey</strong>]
|
||
|
[<strong>-verbose</strong>]
|
||
|
[<strong>-rand</strong> <em>files</em>]
|
||
|
[<strong>-writerand</strong> <em>file</em>]
|
||
|
[<strong>-engine</strong> <em>id</em>]
|
||
|
[<em>numbits</em>]</p>
|
||
|
<p>
|
||
|
</p>
|
||
|
<hr />
|
||
|
<h1><a name="description">DESCRIPTION</a></h1>
|
||
|
<p>This command has been deprecated.
|
||
|
The <em>openssl-pkeyparam(1)</em> command should be used instead.</p>
|
||
|
<p>This command is used to manipulate or generate DSA parameter files.</p>
|
||
|
<p>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.</p>
|
||
|
<p>
|
||
|
</p>
|
||
|
<hr />
|
||
|
<h1><a name="options">OPTIONS</a></h1>
|
||
|
<dl>
|
||
|
<dt><strong><a name="help" class="item"><strong>-help</strong></a></strong></dt>
|
||
|
|
||
|
<dd>
|
||
|
<p>Print out a usage message.</p>
|
||
|
</dd>
|
||
|
<dt><strong><a name="inform_der_pem_outform_der_pem" class="item"><strong>-inform</strong> <strong>DER</strong>|<strong>PEM</strong>, <strong>-outform</strong> <strong>DER</strong>|<strong>PEM</strong></a></strong></dt>
|
||
|
|
||
|
<dd>
|
||
|
<p>The input and formats; the default is <strong>PEM</strong>.
|
||
|
See <em>openssl(1)/Format Options</em> for details.</p>
|
||
|
<p>Parameters are a sequence of <strong>ASN.1 INTEGER</strong>s: <strong>p</strong>, <strong>q</strong>, and <strong>g</strong>.
|
||
|
This is compatible with <a href="http://www.ietf.org/rfc/rfc2459.txt" class="rfc">RFC 2459</a> <strong>DSS-Parms</strong> structure.</p>
|
||
|
</dd>
|
||
|
<dt><strong><a name="in_filename" class="item"><strong>-in</strong> <em>filename</em></a></strong></dt>
|
||
|
|
||
|
<dd>
|
||
|
<p>This specifies the input filename to read parameters from or standard input if
|
||
|
this option is not specified. If the <em>numbits</em> parameter is included then
|
||
|
this option will be ignored.</p>
|
||
|
</dd>
|
||
|
<dt><strong><a name="out_filename" class="item"><strong>-out</strong> <em>filename</em></a></strong></dt>
|
||
|
|
||
|
<dd>
|
||
|
<p>This specifies the output filename parameters to. Standard output is used
|
||
|
if this option is not present. The output filename should <strong>not</strong> be the same
|
||
|
as the input filename.</p>
|
||
|
</dd>
|
||
|
<dt><strong><a name="noout" class="item"><strong>-noout</strong></a></strong></dt>
|
||
|
|
||
|
<dd>
|
||
|
<p>This option inhibits the output of the encoded version of the parameters.</p>
|
||
|
</dd>
|
||
|
<dt><strong><a name="text" class="item"><strong>-text</strong></a></strong></dt>
|
||
|
|
||
|
<dd>
|
||
|
<p>This option prints out the DSA parameters in human readable form.</p>
|
||
|
</dd>
|
||
|
<dt><strong><a name="c" class="item"><strong>-C</strong></a></strong></dt>
|
||
|
|
||
|
<dd>
|
||
|
<p>This option converts the parameters into C code. The parameters can then
|
||
|
be loaded by calling the <code>get_dsaXXX()</code> function.</p>
|
||
|
</dd>
|
||
|
<dt><strong><a name="genkey" class="item"><strong>-genkey</strong></a></strong></dt>
|
||
|
|
||
|
<dd>
|
||
|
<p>This option will generate a DSA either using the specified or generated
|
||
|
parameters.</p>
|
||
|
</dd>
|
||
|
<dt><strong><a name="verbose" class="item"><strong>-verbose</strong></a></strong></dt>
|
||
|
|
||
|
<dd>
|
||
|
<p>Print extra details about the operations being performed.</p>
|
||
|
</dd>
|
||
|
<dt><strong><a name="rand_files_writerand_file" class="item"><strong>-rand</strong> <em>files</em>, <strong>-writerand</strong> <em>file</em></a></strong></dt>
|
||
|
|
||
|
<dd>
|
||
|
<p>See <em>openssl(1)/Random State Options</em> for details.</p>
|
||
|
</dd>
|
||
|
<dt><strong><a name="engine_id" class="item"><strong>-engine</strong> <em>id</em></a></strong></dt>
|
||
|
|
||
|
<dd>
|
||
|
<p>See <em>openssl(1)/Engine Options</em>.</p>
|
||
|
</dd>
|
||
|
<dt><strong><a name="numbits" class="item"><em>numbits</em></a></strong></dt>
|
||
|
|
||
|
<dd>
|
||
|
<p>This option specifies that a parameter set should be generated of size
|
||
|
<em>numbits</em>. It must be the last option. If this option is included then
|
||
|
the input file (if any) is ignored.</p>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p>
|
||
|
</p>
|
||
|
<hr />
|
||
|
<h1><a name="see_also">SEE ALSO</a></h1>
|
||
|
<p><em>openssl(1)</em>,
|
||
|
<em>openssl-pkeyparam(1)</em>,
|
||
|
<em>openssl-gendsa(1)</em>,
|
||
|
<em>openssl-dsa(1)</em>,
|
||
|
<em>openssl-genrsa(1)</em>,
|
||
|
<em>openssl-rsa(1)</em></p>
|
||
|
<p>
|
||
|
</p>
|
||
|
<hr />
|
||
|
<h1><a name="history">HISTORY</a></h1>
|
||
|
<p>This command was deprecated in OpenSSL 3.0.</p>
|
||
|
<p>
|
||
|
</p>
|
||
|
<hr />
|
||
|
<h1><a name="copyright">COPYRIGHT</a></h1>
|
||
|
<p>Copyright 2000-2019 The OpenSSL Project Authors. All Rights Reserved.</p>
|
||
|
<p>Licensed under the Apache License 2.0 (the "License"). You may not use
|
||
|
this file except in compliance with the License. You can obtain a copy
|
||
|
in the file LICENSE in the source distribution or at
|
||
|
<a href="https://www.openssl.org/source/license.html">https://www.openssl.org/source/license.html</a>.</p>
|
||
|
|
||
|
</body>
|
||
|
|
||
|
</html>
|