pkcs8
Specify the name of a file from which either a PKCS#8 structure or a
private key will be read. If this option is omitted,
stdin will be used.
Specify the format of the input data, either DER or PEM. If this option is omitted, PEM is the default format.
Specify the name of a file to which the output from the command will
be written. If this option is omitted, stdout will
be used.
Specify the format of the output data, either DER or PEM. If this option is omitted, PEM is the default format.
Specify the password to decrypt the input PKCS#8 structure or private key. This option follows the guidelines outlined in Chapter 2.
Specify the password to encrypt the output PKCS#8 structure or private key. This option follows the guidelines outlined in Chapter 2.
If this option is specified, a private key, either DSA or RSA, will be the expected input data, and the output will be a PKCS#8 structure. Otherwise, a PKCS#8 structure will be the expected input, and a private key will be the output.
Cause the PKCS#8 structure that is output from this command to be unencrypted. If the input is a PKCS#8 key, it will be expected to be unencrypted.
Cause the RSA private key output from this command to be written in a broken format that is required by some software. This option is ignored if the private key is not RSA or the input data is a PKCS#8 structure.
Cause the DSA private key output from this command to be written in a
broken format that is required by some software. This option is
ignored if the private key is not DSA or the input data is a PKCS#8
structure. With this option, the DSA parameters used to generate the
private key are embedded in the output’s
PrivateKey structure.
Cause the DSA private key output from this command to be written in a broken format that is required by Netscape private key databases. This option is ignored if the private key is not DSA or the input data is a PKCS#8 structure.
Specify the PKCS#5 v1.5 or PKCS#12 algorithm to use for encryption in
the PKCS#8 structure that is output. Valid algorithms are
PBE-MD2-DES, PBE-MD5-DES,
PBE-SHA1-RC2-64,
PBE-MD2-RC2-64, PBE-MD5-RC2-64,
PBE-SHA1-DES, PBE-SHA1-RC4-128,
PBE-SHA1-RC4-40, PBE-SHA1-3DES,
PBE-SHA1-2DES,
PBE-SHA1-RC2-128, and
PBE-SHA1-RC2-40.
Specify the PKCS#5 v2.0 algorithm to use for encryption in the PKCS#8
structure that is output. Valid algorithms are
des, des3, and
rc2. The recommended algorithm is
3DES.