143 lines
4.1 KiB
HTML
143 lines
4.1 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of GENDSA</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>GENDSA</H1>
|
|
Section: OpenSSL (1SSL)<BR>Updated: 2021-03-22<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
openssl-gendsa, gendsa - generate a DSA private key from a set of parameters
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
|
|
|
|
<B>openssl</B> <B>gendsa</B>
|
|
[<B>-help</B>]
|
|
[<B>-out filename</B>]
|
|
[<B>-aes128</B>]
|
|
[<B>-aes192</B>]
|
|
[<B>-aes256</B>]
|
|
[<B>-aria128</B>]
|
|
[<B>-aria192</B>]
|
|
[<B>-aria256</B>]
|
|
[<B>-camellia128</B>]
|
|
[<B>-camellia192</B>]
|
|
[<B>-camellia256</B>]
|
|
[<B>-des</B>]
|
|
[<B>-des3</B>]
|
|
[<B>-idea</B>]
|
|
[<B>-rand file...</B>]
|
|
[<B>-writerand file</B>]
|
|
[<B>-engine id</B>]
|
|
[<B>paramfile</B>]
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
|
|
|
|
The <B>gendsa</B> command generates a <FONT SIZE="-1">DSA</FONT> private key from a <FONT SIZE="-1">DSA</FONT> parameter file
|
|
(which will be typically generated by the <B>openssl dsaparam</B> command).
|
|
<A NAME="lbAE"> </A>
|
|
<H2>OPTIONS</H2>
|
|
|
|
|
|
|
|
<DL COMPACT>
|
|
<DT id="1"><B>-help</B><DD>
|
|
|
|
|
|
Print out a usage message.
|
|
<DT id="2"><B>-out filename</B><DD>
|
|
|
|
|
|
Output the key to the specified file. If this argument is not specified then
|
|
standard output is used.
|
|
<DT id="3"><B>-aes128</B>, <B>-aes192</B>, <B>-aes256</B>, <B>-aria128</B>, <B>-aria192</B>, <B>-aria256</B>, <B>-camellia128</B>, <B>-camellia192</B>, <B>-camellia256</B>, <B>-des</B>, <B>-des3</B>, <B>-idea</B><DD>
|
|
|
|
|
|
These options encrypt the private key with specified
|
|
cipher before outputting it. A pass phrase is prompted for.
|
|
If none of these options is specified no encryption is used.
|
|
<DT id="4"><B>-rand file...</B><DD>
|
|
|
|
|
|
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 <B>;</B> for MS-Windows, <B>,</B> for OpenVMS, and <B>:</B> for
|
|
all others.
|
|
<DT id="5">[<B>-writerand file</B>]<DD>
|
|
|
|
|
|
Writes random data to the specified <I>file</I> upon exit.
|
|
This can be used with a subsequent <B>-rand</B> flag.
|
|
<DT id="6"><B>-engine id</B><DD>
|
|
|
|
|
|
Specifying an engine (by its unique <B>id</B> string) will cause <B>gendsa</B>
|
|
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.
|
|
<DT id="7"><B>paramfile</B><DD>
|
|
|
|
|
|
This option specifies the <FONT SIZE="-1">DSA</FONT> parameter file to use. The parameters in this
|
|
file determine the size of the private key. <FONT SIZE="-1">DSA</FONT> parameters can be generated
|
|
and examined using the <B>openssl dsaparam</B> command.
|
|
</DL>
|
|
<A NAME="lbAF"> </A>
|
|
<H2>NOTES</H2>
|
|
|
|
|
|
|
|
<FONT SIZE="-1">DSA</FONT> key generation is little more than random number generation so it is
|
|
much quicker that <FONT SIZE="-1">RSA</FONT> key generation for example.
|
|
<A NAME="lbAG"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?1+dsaparam">dsaparam</A></B>(1), <B><A HREF="/cgi-bin/man/man2html?1+dsa">dsa</A></B>(1), <B><A HREF="/cgi-bin/man/man2html?1+genrsa">genrsa</A></B>(1),
|
|
<B><A HREF="/cgi-bin/man/man2html?1+rsa">rsa</A></B>(1)
|
|
<A NAME="lbAH"> </A>
|
|
<H2>COPYRIGHT</H2>
|
|
|
|
|
|
|
|
Copyright 2000-2018 The OpenSSL Project Authors. All Rights Reserved.
|
|
<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 <FONT SIZE="-1">LICENSE</FONT> in the source distribution or at
|
|
<<A HREF="https://www.openssl.org/source/license.html">https://www.openssl.org/source/license.html</A>>.
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="8"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="9"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="10"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
<DT id="11"><A HREF="#lbAE">OPTIONS</A><DD>
|
|
<DT id="12"><A HREF="#lbAF">NOTES</A><DD>
|
|
<DT id="13"><A HREF="#lbAG">SEE ALSO</A><DD>
|
|
<DT id="14"><A HREF="#lbAH">COPYRIGHT</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:05:13 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|