summaryrefslogtreecommitdiffstats
path: root/secure/lib/libcrypto/man/d2i_RSAPublicKey.3
diff options
context:
space:
mode:
Diffstat (limited to 'secure/lib/libcrypto/man/d2i_RSAPublicKey.3')
-rw-r--r--secure/lib/libcrypto/man/d2i_RSAPublicKey.347
1 files changed, 38 insertions, 9 deletions
diff --git a/secure/lib/libcrypto/man/d2i_RSAPublicKey.3 b/secure/lib/libcrypto/man/d2i_RSAPublicKey.3
index 97a381b..06bed77 100644
--- a/secure/lib/libcrypto/man/d2i_RSAPublicKey.3
+++ b/secure/lib/libcrypto/man/d2i_RSAPublicKey.3
@@ -1,5 +1,5 @@
.\" Automatically generated by Pod::Man version 1.15
-.\" Tue Jul 30 09:22:01 2002
+.\" Mon Jan 13 19:29:04 2003
.\"
.\" Standard preamble:
.\" ======================================================================
@@ -138,10 +138,12 @@
.\" ======================================================================
.\"
.IX Title "d2i_RSAPublicKey 3"
-.TH d2i_RSAPublicKey 3 "0.9.6e" "2000-04-13" "OpenSSL"
+.TH d2i_RSAPublicKey 3 "0.9.7" "2003-01-13" "OpenSSL"
.UC
.SH "NAME"
-d2i_RSAPublicKey, i2d_RSAPublicKey, d2i_RSAPrivateKey, i2d_RSAPrivateKey, i2d_Netscape_RSA, d2i_Netscape_RSA \- ...
+d2i_RSAPublicKey, i2d_RSAPublicKey, d2i_RSAPrivateKey, i2d_RSAPrivateKey,
+d2i_RSA_PUBKEY, i2d_RSA_PUBKEY, i2d_Netscape_RSA,
+d2i_Netscape_RSA \- \s-1RSA\s0 public and private key encoding functions.
.SH "SYNOPSIS"
.IX Header "SYNOPSIS"
.Vb 1
@@ -154,6 +156,12 @@ d2i_RSAPublicKey, i2d_RSAPublicKey, d2i_RSAPrivateKey, i2d_RSAPrivateKey, i2d_Ne
\& int i2d_RSAPublicKey(RSA *a, unsigned char **pp);
.Ve
.Vb 1
+\& RSA * d2i_RSA_PUBKEY(RSA **a, unsigned char **pp, long length);
+.Ve
+.Vb 1
+\& int i2d_RSA_PUBKEY(RSA *a, unsigned char **pp);
+.Ve
+.Vb 1
\& RSA * d2i_RSAPrivateKey(RSA **a, unsigned char **pp, long length);
.Ve
.Vb 1
@@ -167,13 +175,34 @@ d2i_RSAPublicKey, i2d_RSAPublicKey, d2i_RSAPrivateKey, i2d_RSAPrivateKey, i2d_Ne
.Ve
.SH "DESCRIPTION"
.IX Header "DESCRIPTION"
-\&...
-.SH "RETURN VALUES"
-.IX Header "RETURN VALUES"
-\&...
+\&\fId2i_RSAPublicKey()\fR and \fIi2d_RSAPublicKey()\fR decode and encode a PKCS#1 RSAPublicKey
+structure.
+.PP
+\&\fId2i_RSA_PUKEY()\fR and \fIi2d_RSA_PUKEY()\fR decode and encode an \s-1RSA\s0 public key using a
+SubjectPublicKeyInfo (certificate public key) structure.
+.PP
+\&\fId2i_RSAPrivateKey()\fR, \fIi2d_RSAPrivateKey()\fR decode and encode a PKCS#1 RSAPrivateKey
+structure.
+.PP
+\&\fId2i_Netscape_RSA()\fR, \fIi2d_Netscape_RSA()\fR decode and encode an \s-1RSA\s0 private key in
+\&\s-1NET\s0 format.
+.PP
+The usage of all of these functions is similar to the \fId2i_X509()\fR and
+\&\fIi2d_X509()\fR described in the d2i_X509(3) manual page.
+.SH "NOTES"
+.IX Header "NOTES"
+The \fB\s-1RSA\s0\fR structure passed to the private key encoding functions should have
+all the PKCS#1 private key components present.
+.PP
+The data encoded by the private key functions is unencrypted and therefore
+offers no private key security.
+.PP
+The \s-1NET\s0 format functions are present to provide compatibility with certain very
+old software. This format has some severe security weaknesses and should be
+avoided if possible.
.SH "SEE ALSO"
.IX Header "SEE ALSO"
-\&...
+d2i_X509(3)
.SH "HISTORY"
.IX Header "HISTORY"
-\&...
+\&\s-1TBA\s0
OpenPOWER on IntegriCloud