$manlookup

openssl-pkeyparam

(1ssl)

public key algorithm parameter processing command

User commands11 optionsopenssl 3.5.6-1~deb13u2
openssl pkeyparam [-help] [-in filename] [-out filename] [-text] [-noout] [-check] [-engine id] [-provider name] [-provider-path path] [-provparam [name:]key=value] [-propquery propq]

Options

11
-help

Print out a usage message.

-infilename

This specifies the input file to read parameters from or standard input if this option is not specified.

-outfilename

This specifies the output filename to write parameters to or standard output if this option is not specified. The output filename can be the same as the input filename, which leads to replacing the file contents. Note that file I/O is not atomic. The output file is truncated and then written.

-text

Prints out the parameters in plain text in addition to the encoded version.

-noout

Do not output the encoded version of the parameters.

-check

This option checks the correctness of parameters.

-engineid

See "Engine Options" in openssl(1). This option is deprecated.

-providername

-provider-pathpath

-provparam[name:]key=value

-propquerypropq

See "Provider Options" in openssl(1), provider(7), and property(7).

DESCRIPTION

This command processes public key algorithm parameters. They can be checked for correctness and their components printed out.

EXAMPLES

Print out text version of parameters:

 openssl pkeyparam -in param.pem -text

NOTES

There are no -inform or -outform options for this command because only PEM format is supported because the key type is determined by the PEM headers.

HISTORY

The -engine option was deprecated in OpenSSL 3.0.

See also