summaryrefslogtreecommitdiffstats
path: root/doc/crypto/d2i_Netscape_RSA.pod
diff options
context:
space:
mode:
authorRich Salz <rsalz@openssl.org>2016-06-07 15:49:08 -0400
committerRich Salz <rsalz@openssl.org>2016-06-07 15:49:08 -0400
commit4692340e31985681f95008d409483d5761b6c213 (patch)
tree7617015a4bba74d8aead0fa9e04ecfb856aaefaf /doc/crypto/d2i_Netscape_RSA.pod
parentfbba5d113f1294992cd99643c79860df8f64015a (diff)
Unify d2i/i2d documentation.
Make d2i_X509 a generic d2i/i2d manpage. Pull common stuff out of other d2i/i2d docs. Update find-doc-nits to know about "generic" manpages. Cleanup some overlap. Fix up a bunch of other references. Reviewed-by: Matt Caswell <matt@openssl.org>
Diffstat (limited to 'doc/crypto/d2i_Netscape_RSA.pod')
-rw-r--r--doc/crypto/d2i_Netscape_RSA.pod38
1 files changed, 38 insertions, 0 deletions
diff --git a/doc/crypto/d2i_Netscape_RSA.pod b/doc/crypto/d2i_Netscape_RSA.pod
new file mode 100644
index 0000000000..ee39bd817a
--- /dev/null
+++ b/doc/crypto/d2i_Netscape_RSA.pod
@@ -0,0 +1,38 @@
+=pod
+
+=head1 NAME
+
+i2d_Netscape_RSA,
+d2i_Netscape_RSA
+- insecure RSA public and private key encoding functions
+
+=head1 SYNOPSIS
+
+ #include <openssl/rsa.h>
+
+ int i2d_Netscape_RSA(RSA *a, unsigned char **pp, int (*cb)());
+ RSA * d2i_Netscape_RSA(RSA **a, const unsigned char **pp, long length, int (*cb)());
+
+=head1 DESCRIPTION
+
+These functions decode and encode an RSA private
+key in NET format. These functions are present to provide compatibility
+with very old software. This format has some severe security weaknesses
+and should be avoided if possible.
+
+These functions are similar to the B<d2i_RSAPrivateKey> functions.
+
+=head1 SEE ALSO
+
+L<d2i_RSAPrivateKey(3)>
+
+=head1 COPYRIGHT
+
+Copyright 2000-2016 The OpenSSL Project Authors. All Rights Reserved.
+
+Licensed under the OpenSSL license (the "License"). You may not use
+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