summaryrefslogtreecommitdiff
path: root/doc/apps
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2014-01-22 19:27:13 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2014-01-22 19:27:13 +0000
commit2dc7f78169ea4545102b8d9b0604f785cdc798f5 (patch)
tree916b5f4a06b1f51b6af3e4437ab74e3d27e9cdd9 /doc/apps
parentcbbee3a581d0bbf1b738c0805da55a438c265a20 (diff)
downloadsrc-test2-2dc7f78169ea4545102b8d9b0604f785cdc798f5.tar.gz
src-test2-2dc7f78169ea4545102b8d9b0604f785cdc798f5.zip
Notes
Diffstat (limited to 'doc/apps')
-rw-r--r--doc/apps/rsa.pod15
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/apps/rsa.pod b/doc/apps/rsa.pod
index 69b2bef82cbe..d7d784d52bbe 100644
--- a/doc/apps/rsa.pod
+++ b/doc/apps/rsa.pod
@@ -24,6 +24,8 @@ B<openssl> B<rsa>
[B<-check>]
[B<-pubin>]
[B<-pubout>]
+[B<-RSAPublicKey_in>]
+[B<-RSAPublicKey_out>]
[B<-engine id>]
=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
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>
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-----
-----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
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.
@@ -173,6 +184,10 @@ To just output the public part of a private key:
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
The command line password arguments don't currently work with