VirtualBox

source: vbox/trunk/src/libs/openssl-1.1.1j/doc/man1/gendsa.pod@ 88461

Last change on this file since 88461 was 87984, checked in by vboxsync, 4 years ago

openssl-1.1.1j: Applied and adjusted our OpenSSL changes to 1.1.1j. bugref:9963

File size: 2.5 KB
Line 
1=pod
2
3=head1 NAME
4
5openssl-gendsa,
6gendsa - generate a DSA private key from a set of parameters
7
8=head1 SYNOPSIS
9
10B<openssl> B<gendsa>
11[B<-help>]
12[B<-out filename>]
13[B<-aes128>]
14[B<-aes192>]
15[B<-aes256>]
16[B<-aria128>]
17[B<-aria192>]
18[B<-aria256>]
19[B<-camellia128>]
20[B<-camellia192>]
21[B<-camellia256>]
22[B<-des>]
23[B<-des3>]
24[B<-idea>]
25[B<-rand file...>]
26[B<-writerand file>]
27[B<-engine id>]
28[B<paramfile>]
29
30=head1 DESCRIPTION
31
32The B<gendsa> command generates a DSA private key from a DSA parameter file
33(which will be typically generated by the B<openssl dsaparam> command).
34
35=head1 OPTIONS
36
37=over 4
38
39=item B<-help>
40
41Print out a usage message.
42
43=item B<-out filename>
44
45Output the key to the specified file. If this argument is not specified then
46standard output is used.
47
48=item B<-aes128>, B<-aes192>, B<-aes256>, B<-aria128>, B<-aria192>, B<-aria256>, B<-camellia128>, B<-camellia192>, B<-camellia256>, B<-des>, B<-des3>, B<-idea>
49
50These options encrypt the private key with specified
51cipher before outputting it. A pass phrase is prompted for.
52If none of these options is specified no encryption is used.
53
54=item B<-rand file...>
55
56A file or files containing random data used to seed the random number
57generator.
58Multiple files can be specified separated by an OS-dependent character.
59The separator is B<;> for MS-Windows, B<,> for OpenVMS, and B<:> for
60all others.
61
62=item [B<-writerand file>]
63
64Writes random data to the specified I<file> upon exit.
65This can be used with a subsequent B<-rand> flag.
66
67=item B<-engine id>
68
69Specifying an engine (by its unique B<id> string) will cause B<gendsa>
70to attempt to obtain a functional reference to the specified engine,
71thus initialising it if needed. The engine will then be set as the default
72for all available algorithms.
73
74=item B<paramfile>
75
76This option specifies the DSA parameter file to use. The parameters in this
77file determine the size of the private key. DSA parameters can be generated
78and examined using the B<openssl dsaparam> command.
79
80=back
81
82=head1 NOTES
83
84DSA key generation is little more than random number generation so it is
85much quicker that RSA key generation for example.
86
87=head1 SEE ALSO
88
89L<dsaparam(1)>, L<dsa(1)>, L<genrsa(1)>,
90L<rsa(1)>
91
92=head1 COPYRIGHT
93
94Copyright 2000-2018 The OpenSSL Project Authors. All Rights Reserved.
95
96Licensed under the OpenSSL license (the "License"). You may not use
97this file except in compliance with the License. You can obtain a copy
98in the file LICENSE in the source distribution or at
99L<https://www.openssl.org/source/license.html>.
100
101=cut
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette