Current Path : /usr/opt/openssl11/share/doc/openssl/html/man1/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/opt/openssl11/share/doc/openssl/html/man1/openssl-dsaparam.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>dsaparam</title> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <link rev="made" href="mailto:root@hsxx.drive.ne.jp" /> </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="#notes">NOTES</a></li> <li><a href="#see_also">SEE ALSO</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, 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 DER|PEM</strong>] [<strong>-outform DER|PEM</strong>] [<strong>-in filename</strong>] [<strong>-out filename</strong>] [<strong>-noout</strong>] [<strong>-text</strong>] [<strong>-C</strong>] [<strong>-rand file...</strong>] [<strong>-writerand file</strong>] [<strong>-genkey</strong>] [<strong>-engine id</strong>] [<strong>numbits</strong>]</p> <p> </p> <hr /> <h1><a name="description">DESCRIPTION</a></h1> <p>This command is used to manipulate or generate DSA parameter files.</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" class="item"><strong>-inform DER|PEM</strong></a></strong></dt> <dd> <p>This specifies the input format. The <strong>DER</strong> option uses an ASN1 DER encoded form compatible with <a href="http://www.ietf.org/rfc/rfc2459.txt" class="rfc">RFC2459</a> (PKIX) DSS-Parms that is a SEQUENCE consisting of p, q and g respectively. The PEM form is the default format: it consists of the <strong>DER</strong> format base64 encoded with additional header and footer lines.</p> </dd> <dt><strong><a name="outform_der_pem" class="item"><strong>-outform DER|PEM</strong></a></strong></dt> <dd> <p>This specifies the output format, the options have the same meaning and default as the <strong>-inform</strong> option.</p> </dd> <dt><strong><a name="in_filename" class="item"><strong>-in filename</strong></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 <strong>numbits</strong> parameter is included then this option will be ignored.</p> </dd> <dt><strong><a name="out_filename" class="item"><strong>-out filename</strong></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="rand_file" class="item"><strong>-rand file...</strong></a></strong></dt> <dd> <p>A file or files containing random data used to seed the random number generator. Multiple files can be specified separated by an OS-dependent character. The separator is <strong>;</strong> for MS-Windows, <strong>,</strong> for OpenVMS, and <strong>:</strong> for all others.</p> </dd> <dt><strong><a name="writerand_file" class="item">[<strong>-writerand file</strong>]</a></strong></dt> <dd> <p>Writes random data to the specified <em>file</em> upon exit. This can be used with a subsequent <strong>-rand</strong> flag.</p> </dd> <dt><strong><a name="numbits" class="item"><strong>numbits</strong></a></strong></dt> <dd> <p>This option specifies that a parameter set should be generated of size <strong>numbits</strong>. It must be the last option. If this option is included then the input file (if any) is ignored.</p> </dd> <dt><strong><a name="engine_id" class="item"><strong>-engine id</strong></a></strong></dt> <dd> <p>Specifying an engine (by its unique <strong>id</strong> string) will cause <strong>dsaparam</strong> to attempt to obtain a functional reference to the specified engine, thus initialising it if needed. The engine will then be set as the default for all available algorithms.</p> </dd> </dl> <p> </p> <hr /> <h1><a name="notes">NOTES</a></h1> <p>PEM format DSA parameters use the header and footer lines:</p> <pre> -----BEGIN DSA PARAMETERS----- -----END DSA PARAMETERS-----</pre> <p>DSA parameter generation is 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="see_also">SEE ALSO</a></h1> <p><em>gendsa(1)</em>, <em>dsa(1)</em>, <em>genrsa(1)</em>, <em>rsa(1)</em></p> <p> </p> <hr /> <h1><a name="copyright">COPYRIGHT</a></h1> <p>Copyright 2000-2017 The OpenSSL Project Authors. All Rights Reserved.</p> <p>Licensed under the OpenSSL license (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>