5 dh - DH parameter manipulation and generation
20 This command is used to manipulate DH parameter files.
26 =item B<-inform DER|PEM>
28 This specifies the input format. The B<DER> option uses an ASN1 DER encoded
29 form compatible with the PKCS#3 DHparameter structure. The PEM form is the
30 default format: it consists of the B<DER> format base64 encoded with
31 additional header and footer lines.
33 =item B<-outform DER|PEM>
35 This specifies the output format, the options have the same meaning as the
40 This specifies the input filename to read parameters from or standard input if
41 this option is not specified.
43 =item B<-out filename>
45 This specifies the output filename parameters to. Standard output is used
46 if this option is not present. The output filename should B<not> be the same
47 as the input filename.
51 this option inhibits the output of the encoded version of the parameters.
55 this option prints out the DH parameters in human readable form.
59 this option converts the parameters into C code. The parameters can then
60 be loaded by calling the B<get_dhXXX()> function.
66 PEM format DH parameters use the header and footer lines:
68 -----BEGIN DH PARAMETERS-----
69 -----END DH PARAMETERS-----
71 OpenSSL currently only supports the older PKCS#3 DH, not the newer X9.42
74 This program manipulates DH parameters not keys.
78 This program is badly named: the B<rsa> and B<dsa> programs manipulate keys
81 There should be a way to generate and manipulate DH keys.