Document RSAPublicKey_{in,out} options.
(cherry picked from commit 7040d73d22987532faa503630d6616cf2788c975)
This commit is contained in:
parent
5b98979712
commit
62c2b6d944
@ -24,6 +24,8 @@ B<openssl> B<rsa>
|
|||||||
[B<-check>]
|
[B<-check>]
|
||||||
[B<-pubin>]
|
[B<-pubin>]
|
||||||
[B<-pubout>]
|
[B<-pubout>]
|
||||||
|
[B<-RSAPublicKey_in>]
|
||||||
|
[B<-RSAPublicKey_out>]
|
||||||
[B<-engine id>]
|
[B<-engine id>]
|
||||||
|
|
||||||
=head1 DESCRIPTION
|
=head1 DESCRIPTION
|
||||||
@ -118,6 +120,10 @@ by default a private key is output: with this option a public
|
|||||||
key will be output instead. This option is automatically set if
|
key will be output instead. This option is automatically set if
|
||||||
the input is a public key.
|
the input is a public key.
|
||||||
|
|
||||||
|
=item B<-RSAPublicKey_in>, B<-RSAPublicKey_out>
|
||||||
|
|
||||||
|
like B<-pubin> and B<-pubout> except B<RSAPublicKey> format is used instead.
|
||||||
|
|
||||||
=item B<-engine id>
|
=item B<-engine id>
|
||||||
|
|
||||||
specifying an engine (by its unique B<id> string) will cause B<rsa>
|
specifying an engine (by its unique B<id> string) will cause B<rsa>
|
||||||
@ -139,6 +145,11 @@ The PEM public key format uses the header and footer lines:
|
|||||||
-----BEGIN PUBLIC KEY-----
|
-----BEGIN PUBLIC KEY-----
|
||||||
-----END PUBLIC KEY-----
|
-----END PUBLIC KEY-----
|
||||||
|
|
||||||
|
The PEM B<RSAPublicKey> format uses the header and footer lines:
|
||||||
|
|
||||||
|
-----BEGIN RSA PUBLIC KEY-----
|
||||||
|
-----END RSA PUBLIC KEY-----
|
||||||
|
|
||||||
The B<NET> form is a format compatible with older Netscape servers
|
The B<NET> form is a format compatible with older Netscape servers
|
||||||
and Microsoft IIS .key files, this uses unsalted RC4 for its encryption.
|
and Microsoft IIS .key files, this uses unsalted RC4 for its encryption.
|
||||||
It is not very secure and so should only be used when necessary.
|
It is not very secure and so should only be used when necessary.
|
||||||
@ -173,6 +184,10 @@ To just output the public part of a private key:
|
|||||||
|
|
||||||
openssl rsa -in key.pem -pubout -out pubkey.pem
|
openssl rsa -in key.pem -pubout -out pubkey.pem
|
||||||
|
|
||||||
|
Output the public part of a private key in B<RSAPublicKey> format:
|
||||||
|
|
||||||
|
openssl rsa -in key.pem -RSAPublicKey_out -out pubkey.pem
|
||||||
|
|
||||||
=head1 BUGS
|
=head1 BUGS
|
||||||
|
|
||||||
The command line password arguments don't currently work with
|
The command line password arguments don't currently work with
|
||||||
|
Loading…
Reference in New Issue
Block a user