aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2014-09-30 08:17:17 -0500
committerPaul Kehrer <paul.l.kehrer@gmail.com>2014-09-30 08:17:17 -0500
commit12ff164e1144fccc4d9a81af8a056a50c340164c (patch)
tree3437d7981ed150a9c4a7b07ea63a5c435da89e23
parentef1c9bd68fb3cac41d71eeeb70a9741a900121d6 (diff)
downloadcryptography-12ff164e1144fccc4d9a81af8a056a50c340164c.tar.gz
cryptography-12ff164e1144fccc4d9a81af8a056a50c340164c.tar.bz2
cryptography-12ff164e1144fccc4d9a81af8a056a50c340164c.zip
remove rsa backend methods that are fully deprecated from backend
interface
-rw-r--r--cryptography/hazmat/backends/interfaces.py33
1 files changed, 0 insertions, 33 deletions
diff --git a/cryptography/hazmat/backends/interfaces.py b/cryptography/hazmat/backends/interfaces.py
index f471b948..00bcc443 100644
--- a/cryptography/hazmat/backends/interfaces.py
+++ b/cryptography/hazmat/backends/interfaces.py
@@ -112,39 +112,6 @@ class RSABackend(object):
"""
@abc.abstractmethod
- def create_rsa_signature_ctx(self, private_key, padding, algorithm):
- """
- Returns an object conforming to the AsymmetricSignatureContext
- interface.
- """
-
- @abc.abstractmethod
- def create_rsa_verification_ctx(self, public_key, signature, padding,
- algorithm):
- """
- Returns an object conforming to the AsymmetricVerificationContext
- interface.
- """
-
- @abc.abstractmethod
- def mgf1_hash_supported(self, algorithm):
- """
- Return True if the hash algorithm is supported for MGF1 in PSS.
- """
-
- @abc.abstractmethod
- def decrypt_rsa(self, private_key, ciphertext, padding):
- """
- Returns decrypted bytes.
- """
-
- @abc.abstractmethod
- def encrypt_rsa(self, public_key, plaintext, padding):
- """
- Returns encrypted bytes.
- """
-
- @abc.abstractmethod
def rsa_padding_supported(self, padding):
"""
Returns True if the backend supports the given padding options.