2006-07-11 07:10:26 +08:00
|
|
|
=pod
|
|
|
|
|
2019-10-13 05:45:56 +08:00
|
|
|
=begin comment
|
|
|
|
{- join("\n", @autowarntext) -}
|
|
|
|
|
|
|
|
=end comment
|
|
|
|
|
2006-07-11 07:10:26 +08:00
|
|
|
=head1 NAME
|
|
|
|
|
2020-02-19 00:52:12 +08:00
|
|
|
openssl-pkeyparam - public key algorithm parameter processing command
|
2006-07-11 07:10:26 +08:00
|
|
|
|
|
|
|
=head1 SYNOPSIS
|
|
|
|
|
|
|
|
B<openssl> B<pkeyparam>
|
2016-02-06 00:58:45 +08:00
|
|
|
[B<-help>]
|
2019-09-26 03:20:11 +08:00
|
|
|
[B<-in> I<filename>]
|
|
|
|
[B<-out> I<filename>]
|
2006-07-11 07:10:26 +08:00
|
|
|
[B<-text>]
|
|
|
|
[B<-noout>]
|
2017-11-01 00:45:24 +08:00
|
|
|
[B<-check>]
|
2019-10-13 05:45:56 +08:00
|
|
|
{- $OpenSSL::safe::opt_engine_synopsis -}
|
2020-02-25 12:29:30 +08:00
|
|
|
{- $OpenSSL::safe::opt_provider_synopsis -}
|
2006-07-11 07:10:26 +08:00
|
|
|
|
2019-10-11 23:52:12 +08:00
|
|
|
=for openssl ifdef engine
|
2019-09-23 07:49:25 +08:00
|
|
|
|
2006-07-11 07:10:26 +08:00
|
|
|
=head1 DESCRIPTION
|
|
|
|
|
Command docs: fix up command references
Almost all OpenSSL commands are in reality 'openssl cmd', so make sure
they are refered to like that and not just as the sub-command.
Self-references are avoided as much as is possible, and replaced with
"this command". In some cases, we even avoid that with a slight
rewrite of the sentence or paragrah they were in. However, in the few
cases where a self-reference is still admissible, they are done in
bold, i.e. openssl-speed.pod references itself like this:
B<openssl speed>
References to other commands are done as manual links, i.e. CA.pl.pod
references 'openssl req' like this: L<openssl-req(1)>
Some commands are examples rather than references; we enclose those in
C<>.
While we are it, we abolish "utility", replacing it with "command", or
remove it entirely in some cases.
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/10065)
2019-10-02 01:43:36 +08:00
|
|
|
This command processes public key algorithm parameters.
|
2018-02-16 17:26:55 +08:00
|
|
|
They can be checked for correctness and their components printed out.
|
2006-07-11 07:10:26 +08:00
|
|
|
|
2016-12-13 00:14:40 +08:00
|
|
|
=head1 OPTIONS
|
2006-07-11 07:10:26 +08:00
|
|
|
|
|
|
|
=over 4
|
|
|
|
|
2016-02-06 00:58:45 +08:00
|
|
|
=item B<-help>
|
|
|
|
|
|
|
|
Print out a usage message.
|
|
|
|
|
2019-09-26 03:20:11 +08:00
|
|
|
=item B<-in> I<filename>
|
2006-07-11 07:10:26 +08:00
|
|
|
|
|
|
|
This specifies the input filename to read parameters from or standard input if
|
|
|
|
this option is not specified.
|
|
|
|
|
2019-09-26 03:20:11 +08:00
|
|
|
=item B<-out> I<filename>
|
2006-07-11 07:10:26 +08:00
|
|
|
|
|
|
|
This specifies the output filename to write parameters to or standard output if
|
|
|
|
this option is not specified.
|
|
|
|
|
|
|
|
=item B<-text>
|
|
|
|
|
2017-03-30 05:38:30 +08:00
|
|
|
Prints out the parameters in plain text in addition to the encoded version.
|
2006-07-11 07:10:26 +08:00
|
|
|
|
|
|
|
=item B<-noout>
|
|
|
|
|
2017-03-30 05:38:30 +08:00
|
|
|
Do not output the encoded version of the parameters.
|
2006-07-11 07:10:26 +08:00
|
|
|
|
2017-11-01 00:45:24 +08:00
|
|
|
=item B<-check>
|
|
|
|
|
|
|
|
This option checks the correctness of parameters.
|
|
|
|
|
2019-10-13 05:45:56 +08:00
|
|
|
{- $OpenSSL::safe::opt_engine_item -}
|
|
|
|
|
2020-02-25 12:29:30 +08:00
|
|
|
{- $OpenSSL::safe::opt_provider_item -}
|
|
|
|
|
2006-07-11 07:10:26 +08:00
|
|
|
=back
|
|
|
|
|
2019-08-16 02:26:08 +08:00
|
|
|
=head1 EXAMPLES
|
2006-07-11 07:10:26 +08:00
|
|
|
|
|
|
|
Print out text version of parameters:
|
|
|
|
|
|
|
|
openssl pkeyparam -in param.pem -text
|
|
|
|
|
|
|
|
=head1 NOTES
|
|
|
|
|
|
|
|
There are no B<-inform> or B<-outform> options for this command because only
|
|
|
|
PEM format is supported because the key type is determined by the PEM headers.
|
|
|
|
|
|
|
|
=head1 SEE ALSO
|
|
|
|
|
2019-08-22 07:04:41 +08:00
|
|
|
L<openssl(1)>,
|
|
|
|
L<openssl-genpkey(1)>,
|
|
|
|
L<openssl-rsa(1)>,
|
|
|
|
L<openssl-pkcs8(1)>,
|
|
|
|
L<openssl-dsa(1)>,
|
|
|
|
L<openssl-genrsa(1)>,
|
|
|
|
L<openssl-gendsa(1)>
|
2006-07-11 07:10:26 +08:00
|
|
|
|
2020-06-25 09:27:51 +08:00
|
|
|
=head1 HISTORY
|
|
|
|
|
|
|
|
The B<-engine> option was deprecated in OpenSSL 3.0.
|
|
|
|
|
2016-05-18 23:44:05 +08:00
|
|
|
=head1 COPYRIGHT
|
|
|
|
|
2020-04-23 20:55:52 +08:00
|
|
|
Copyright 2006-2020 The OpenSSL Project Authors. All Rights Reserved.
|
2016-05-18 23:44:05 +08:00
|
|
|
|
2018-12-06 21:04:11 +08:00
|
|
|
Licensed under the Apache License 2.0 (the "License"). You may not use
|
2016-05-18 23:44:05 +08:00
|
|
|
this file except in compliance with the License. You can obtain a copy
|
|
|
|
in the file LICENSE in the source distribution or at
|
|
|
|
L<https://www.openssl.org/source/license.html>.
|
|
|
|
|
|
|
|
=cut
|