Linux "pkeyparam" Command Line Options and Examples
public key algorithm parameter processing tool

The pkey command processes public or private keys. They can be converted between various forms and their components printed out..


Usage:

openssl pkeyparam [-help] [-in filename] [-out filename] [-text] [-noout] [-engine id]






Command Line Options:

-help
Print out a usage message.
pkeyparam -help ...
-in
This specifies the input filename to read parameters from or standard input if this option is notspecified.
pkeyparam -in ...
-out
This specifies the output filename to write parameters to or standard output if this option is notspecified.
pkeyparam -out ...
-text
prints out the parameters in plain text in addition to the encoded version.
pkeyparam -text ...
-noout
do not output the encoded version of the parameters.
pkeyparam -noout ...
-engine
specifying an engine (by its unique id string) will cause pkeyparam to attempt to obtain a functionalreference to the specified engine, thus initialising it if needed. The engine will then be set as thedefault for all available algorithms.EXAMPLEPrint out text version of parameters:openssl pkeyparam -in param.pem -textNOTESThere are no -inform or -outform options for this command because only PEM format is supported because the keytype is determined by the PEM headers.
pkeyparam -engine ...