
> this option prevents output of the encoded version of the key. > prints out the various public or private key components in plain text in addition to the encoded version. These options can only be used with PEM format output files. This means that using the rsa utility to read in an encrypted key with no encryptionoption can be used to remove the pass phrase from a key, or by setting the encryption options it can be use to add or change the passphrase.

If none of theseoptions is specified the key is written in plain text. > These options encrypt the private key with the specified cipher before outputting it. For more information about the format of arg see the PASS PHRASE ARGUMENTS section in openssl. The output filename should not be the same as the input filename. If any encryption options are setthen a pass phrase will be prompted for. > This specifies the output filename to write a key to or standard output if this option is not specified. If the key is encrypted a passphrase will be prompted for. > This specifies the input filename to read a key from or standard input if this option is not specified. > This specifies the output format, the options have the same meaning as the -inform option.


The NET form is a format is described in the NOTES section. On input PKCS#8 format private keys are also accepted. The PEM form is the default format: it consists of the DER format base64 encoded with additional header andfooter lines. The DER option uses an ASN1 DER encoded form compatible with the PKCS#1 RSAPrivateKey orSubjectPublicKeyInfo format.
