Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/openssl/openssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2002-09-25 17:25:48 +0400
committerRichard Levitte <levitte@openssl.org>2002-09-25 17:25:48 +0400
commitc0ca52952e96357190ed990888c79f95154b31a3 (patch)
tree8bd30f6ce3d1818a9a7bc6aa0d25e36cdc87d21e /doc/crypto
parent39d727d0c3fd16d49592222874a547846d9d528c (diff)
Remove reference to RSA_PKCS1_RSAref, since it doesn't exist any more.
This correction was originally introduced in OpenBSD's tracking of OpenSSL.
Diffstat (limited to 'doc/crypto')
-rw-r--r--doc/crypto/RSA_set_method.pod15
1 files changed, 11 insertions, 4 deletions
diff --git a/doc/crypto/RSA_set_method.pod b/doc/crypto/RSA_set_method.pod
index 0687c2242a..060c4cc258 100644
--- a/doc/crypto/RSA_set_method.pod
+++ b/doc/crypto/RSA_set_method.pod
@@ -3,13 +3,12 @@
=head1 NAME
RSA_set_default_method, RSA_get_default_method, RSA_set_method,
-RSA_get_method, RSA_PKCS1_SSLeay,
-RSA_null_method, RSA_flags, RSA_new_method - select RSA method
+RSA_get_method, RSA_PKCS1_SSLeay, RSA_null_method, RSA_flags,
+RSA_new_method - select RSA method
=head1 SYNOPSIS
#include <openssl/rsa.h>
- #include <openssl/engine.h>
void RSA_set_default_method(const RSA_METHOD *meth);
@@ -21,11 +20,13 @@ RSA_null_method, RSA_flags, RSA_new_method - select RSA method
RSA_METHOD *RSA_PKCS1_SSLeay(void);
+ RSA_METHOD *RSA_PKCS1_RSAref(void);
+
RSA_METHOD *RSA_null_method(void);
int RSA_flags(const RSA *rsa);
- RSA *RSA_new_method(ENGINE *engine);
+ RSA *RSA_new_method(RSA_METHOD *method);
=head1 DESCRIPTION
@@ -70,6 +71,12 @@ B<engine> will be used for the RSA operations. If B<engine> is NULL, the
default ENGINE for RSA operations is used, and if no default ENGINE is set,
the RSA_METHOD controlled by RSA_set_default_method() is used.
+RSA_flags() returns the B<flags> that are set for B<rsa>'s current method.
+
+RSA_new_method() allocates and initializes an B<RSA> structure so that
+B<method> will be used for the RSA operations. If B<method> is B<NULL>,
+the default method is used.
+
=head1 THE RSA_METHOD STRUCTURE
typedef struct rsa_meth_st