xref: /netbsd-src/crypto/external/bsd/openssl/lib/libcrypto/man/openssl-gendsa.1 (revision a19d5caa4f855f23a141a0208d8a8ad40b58864e)
$NetBSD: openssl-gendsa.1,v 1.1 2024/07/12 21:01:07 christos Exp $

-*- mode: troff; coding: utf-8 -*-
Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43)

Standard preamble:
========================================================================
..
..
.. \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>.
. ds C` "" . ds C' "" 'br\} . ds C` . ds C' 'br\}
Escape single quotes in literal strings from groff's Unicode transform.

If the F register is >0, we'll generate index entries on stderr for
titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
entries marked with X<> in POD. Of course, you'll have to process the
output yourself in some meaningful fashion.

Avoid warning from groff about undefined register 'F'.
.. .nr rF 0 . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF ========================================================================

Title "OPENSSL-GENDSA 1"
OPENSSL-GENDSA 1 2024-07-11 3.0.14 OpenSSL
For nroff, turn off justification. Always turn off hyphenation; it makes
way too many mistakes in technical documents.
NAME
openssl-gendsa - generate a DSA private key from a set of parameters
SYNOPSIS
Header "SYNOPSIS" \fBopenssl gendsa [-help] [-out filename] [-passout arg] [-aes128] [-aes192] [-aes256] [-aria128] [-aria192] [-aria256] [-camellia128] [-camellia192] [-camellia256] [-des] [-des3] [-idea] [-verbose] [-rand files] [-writerand file] [-engine id] [-provider name] [-provider-path path] [-propquery propq] [paramfile]
DESCRIPTION
Header "DESCRIPTION" This command generates a DSA private key from a DSA parameter file (which will be typically generated by the openssl-dsaparam\|(1) command).
OPTIONS
Header "OPTIONS"
-help 4
Item "-help" Print out a usage message.
"-out filename" 4
Item "-out filename" Output the key to the specified file. If this argument is not specified then standard output is used.
"-passout arg" 4
Item "-passout arg" The passphrase used for the output file. See openssl-passphrase-options\|(1).
"-aes128, -aes192, -aes256, -aria128, -aria192, -aria256, -camellia128, -camellia192, -camellia256, -des, -des3, -idea" 4
Item "-aes128, -aes192, -aes256, -aria128, -aria192, -aria256, -camellia128, -camellia192, -camellia256, -des, -des3, -idea" 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. .Sp Note that all options must be given before the paramfile argument. Otherwise they are ignored.
-verbose 4
Item "-verbose" Print extra details about the operations being performed.
"-rand files, -writerand file" 4
Item "-rand files, -writerand file" See "Random State Options" in openssl\|(1) for details.
"-engine id" 4
Item "-engine id" See "Engine Options" in openssl\|(1). This option is deprecated.
paramfile 4
Item "paramfile" The DSA parameter file to use. The parameters in this file determine the size of the private key. DSA parameters can be generated and examined using the openssl-dsaparam\|(1) command.
"-provider name" 4
Item "-provider name"

0

"-provider-path path" 4
Item "-provider-path path"
"-propquery propq" 4
Item "-propquery propq"

See "Provider Options" in openssl\|(1), provider\|(7), and property\|(7).

NOTES
Header "NOTES" DSA key generation is little more than random number generation so it is much quicker that RSA key generation for example.
"SEE ALSO"
Header "SEE ALSO" \fBopenssl\|(1), \fBopenssl-genpkey\|(1), \fBopenssl-dsaparam\|(1), \fBopenssl-dsa\|(1), \fBopenssl-genrsa\|(1), \fBopenssl-rsa\|(1)
HISTORY
Header "HISTORY" The -engine option was deprecated in OpenSSL 3.0.
COPYRIGHT
Header "COPYRIGHT" Copyright 2000-2023 The OpenSSL Project Authors. All Rights Reserved.

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 <https://www.openssl.org/source/license.html>.