]> git.ipfire.org Git - thirdparty/openssl.git/blame - doc/man1/pkeyparam.pod
Support public key and param check in EVP interface
[thirdparty/openssl.git] / doc / man1 / pkeyparam.pod
CommitLineData
e4549295
DSH
1=pod
2
3=head1 NAME
4
3f2181e6 5openssl-pkeyparam,
e4549295
DSH
6pkeyparam - public key algorithm parameter processing tool
7
8=head1 SYNOPSIS
9
10B<openssl> B<pkeyparam>
169394d4 11[B<-help>]
e4549295
DSH
12[B<-in filename>]
13[B<-out filename>]
14[B<-text>]
15[B<-noout>]
16[B<-engine id>]
b0004708 17[B<-check>]
e4549295
DSH
18
19=head1 DESCRIPTION
20
21The B<pkey> command processes public or private keys. They can be converted
22between various forms and their components printed out.
23
3dfda1a6 24=head1 OPTIONS
e4549295
DSH
25
26=over 4
27
169394d4
MR
28=item B<-help>
29
30Print out a usage message.
31
e4549295
DSH
32=item B<-in filename>
33
34This specifies the input filename to read parameters from or standard input if
35this option is not specified.
36
37=item B<-out filename>
38
39This specifies the output filename to write parameters to or standard output if
40this option is not specified.
41
42=item B<-text>
43
c4de074e 44Prints out the parameters in plain text in addition to the encoded version.
e4549295
DSH
45
46=item B<-noout>
47
c4de074e 48Do not output the encoded version of the parameters.
e4549295
DSH
49
50=item B<-engine id>
51
c4de074e 52Specifying an engine (by its unique B<id> string) will cause B<pkeyparam>
e4549295
DSH
53to attempt to obtain a functional reference to the specified engine,
54thus initialising it if needed. The engine will then be set as the default
55for all available algorithms.
56
b0004708
PY
57=item B<-check>
58
59This option checks the correctness of parameters.
60
e4549295
DSH
61=back
62
63=head1 EXAMPLE
64
65Print out text version of parameters:
66
67 openssl pkeyparam -in param.pem -text
68
69=head1 NOTES
70
71There are no B<-inform> or B<-outform> options for this command because only
72PEM format is supported because the key type is determined by the PEM headers.
73
74=head1 SEE ALSO
75
9b86974e 76L<genpkey(1)>, L<rsa(1)>, L<pkcs8(1)>,
1bc74519 77L<dsa(1)>, L<genrsa(1)>, L<gendsa(1)>
e4549295 78
e2f92610
RS
79=head1 COPYRIGHT
80
c4de074e 81Copyright 2006-2017 The OpenSSL Project Authors. All Rights Reserved.
e2f92610
RS
82
83Licensed under the OpenSSL license (the "License"). You may not use
84this file except in compliance with the License. You can obtain a copy
85in the file LICENSE in the source distribution or at
86L<https://www.openssl.org/source/license.html>.
87
88=cut