OpenSSL.vip

Cryptography and SSL/TLS Toolkit

NAME

openssl-dsaparam - DSA parameter manipulation and generation

SYNOPSIS

openssl dsaparam [-help] [-inform DER|PEM] [-outform DER|PEM] [-in filename] [-out filename] [-noout] [-text] [-C] [-genkey] [-verbose] [-rand files] [-writerand file] [-engine id] [-provider name] [-provider_path path] [numbits]

DESCRIPTION

This command is used to manipulate or generate DSA parameter files.

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.

OPTIONS

-help

Print out a usage message.

-inform DER|PEM, -outform DER|PEM

The input and formats; the default is PEM. See -in filename

This specifies the input filename to read parameters from or standard input if this option is not specified. If the numbits parameter is included then this option will be ignored.

-out filename

This specifies the output filename parameters to. Standard output is used if this option is not present. The output filename should not be the same as the input filename.

-noout

This option inhibits the output of the encoded version of the parameters.

-text

This option prints out the DSA parameters in human readable form.

-C

This option converts the parameters into C code. The parameters can then be loaded by calling the get_dsaXXX() function.

-genkey

This option will generate a DSA either using the specified or generated parameters.

-verbose

Print extra details about the operations being performed.

-rand files, -writerand file

See -engine id

See numbits

This option specifies that a parameter set should be generated of size numbits. It must be the last option. If this option is included then the input file (if any) is ignored.

-provider name
-provider_path path

See SEE ALSO

openssl-pkeyparam(1), openssl-dsa(1), openssl-rsa(1)

COPYRIGHT

Copyright 2000-2020 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.

关闭