aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Reid <dreid@dreid.org>2014-05-07 19:55:44 -0700
committerDavid Reid <dreid@dreid.org>2014-06-03 10:05:38 -0700
commit587e5a24b5eb56c060fd1d374c1a5d3c8671efec (patch)
tree0493f45966768a61520519da725162bd2b3d035a
parent395be8ba6b482f52c76713e2d01f29c824ae96de (diff)
downloadcryptography-587e5a24b5eb56c060fd1d374c1a5d3c8671efec.tar.gz
cryptography-587e5a24b5eb56c060fd1d374c1a5d3c8671efec.tar.bz2
cryptography-587e5a24b5eb56c060fd1d374c1a5d3c8671efec.zip
Add load_rsa_numbers to the RSABackend interface.
-rw-r--r--cryptography/hazmat/backends/interfaces.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/cryptography/hazmat/backends/interfaces.py b/cryptography/hazmat/backends/interfaces.py
index ba02bbd2..19d6fb70 100644
--- a/cryptography/hazmat/backends/interfaces.py
+++ b/cryptography/hazmat/backends/interfaces.py
@@ -142,6 +142,11 @@ class RSABackend(object):
generation.
"""
+ def load_rsa_numbers(self, numbers):
+ """
+ Returns an RSAPrivateKey provider.
+ """
+
@six.add_metaclass(abc.ABCMeta)
class DSABackend(object):