5 dsaparam - DSA parameter manipulation and generation
24 This command is used to manipulate or generate DSA parameter files.
30 =item B<-inform DER|PEM>
32 This specifies the input format. The B<DER> option uses an ASN1 DER encoded
33 form compatible with RFC2459 (PKIX) DSS-Parms that is a SEQUENCE consisting
34 of p, q and g respectively. The PEM form is the default format: it consists
35 of the B<DER> format base64 encoded with additional header and footer lines.
37 =item B<-outform DER|PEM>
39 This specifies the output format, the options have the same meaning as the
44 This specifies the input filename to read parameters from or standard input if
45 this option is not specified. If the B<numbits> parameter is included then
46 this option will be ignored.
48 =item B<-out filename>
50 This specifies the output filename parameters to. Standard output is used
51 if this option is not present. The output filename should B<not> be the same
52 as the input filename.
56 this option inhibits the output of the encoded version of the parameters.
60 this option prints out the DSA parameters in human readable form.
64 this option converts the parameters into C code. The parameters can then
65 be loaded by calling the B<get_dsaXXX()> function.
69 this option will generate a DSA either using the specified or generated
72 =item B<-rand file(s)>
74 a file or files containing random data used to seed the random number
75 generator, or an EGD socket (see L<RAND_egd(3)|RAND_egd(3)>).
76 Multiple files can be specified separated by a OS-dependent character.
77 The separator is B<;> for MS-Windows, B<,> for OpenVMS, and B<:> for
82 this option specifies that a parameter set should be generated of size
83 B<numbits>. It must be the last option. If this option is included then
84 the input file (if any) is ignored.
88 specifying an engine (by its unique B<id> string) will cause B<dsaparam>
89 to attempt to obtain a functional reference to the specified engine,
90 thus initialising it if needed. The engine will then be set as the default
91 for all available algorithms.
97 PEM format DSA parameters use the header and footer lines:
99 -----BEGIN DSA PARAMETERS-----
100 -----END DSA PARAMETERS-----
102 DSA parameter generation is a slow process and as a result the same set of
103 DSA parameters is often used to generate several distinct keys.
107 L<gendsa(1)|gendsa(1)>, L<dsa(1)|dsa(1)>, L<genrsa(1)|genrsa(1)>,