From 12ff164e1144fccc4d9a81af8a056a50c340164c Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Tue, 30 Sep 2014 08:17:17 -0500 Subject: remove rsa backend methods that are fully deprecated from backend interface --- cryptography/hazmat/backends/interfaces.py | 33 ------------------------------ 1 file changed, 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 @@ -111,39 +111,6 @@ class RSABackend(object): of key_size bits. """ - @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): """ -- cgit v1.2.3