aboutsummaryrefslogtreecommitdiffstats
path: root/cryptography
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2014-01-20 12:37:57 -0800
committerAlex Gaynor <alex.gaynor@gmail.com>2014-01-20 12:37:57 -0800
commit78456c71627d9234a4668ce2fb36e12525cae6b1 (patch)
treeb76c436cf7c290dfb4280eaa86a2a715de9d87e6 /cryptography
parent7e33d1ce2f573f3b2b0e8f363879dd4cb19c921b (diff)
parent5a2494086f8f8215102f2558b12eaca14eebd782 (diff)
downloadcryptography-78456c71627d9234a4668ce2fb36e12525cae6b1.tar.gz
cryptography-78456c71627d9234a4668ce2fb36e12525cae6b1.tar.bz2
cryptography-78456c71627d9234a4668ce2fb36e12525cae6b1.zip
Merge pull request #488 from dreid/privatize-register_cipher_adapter
Remove register_cipher_adapter from the interface and the documentation.
Diffstat (limited to 'cryptography')
-rw-r--r--cryptography/hazmat/backends/interfaces.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/cryptography/hazmat/backends/interfaces.py b/cryptography/hazmat/backends/interfaces.py
index 9a570968..4fbb3488 100644
--- a/cryptography/hazmat/backends/interfaces.py
+++ b/cryptography/hazmat/backends/interfaces.py
@@ -26,12 +26,6 @@ class CipherBackend(six.with_metaclass(abc.ABCMeta)):
"""
@abc.abstractmethod
- def register_cipher_adapter(self, cipher, mode, adapter):
- """
- Register an adapter for a cipher and mode to a backend specific object.
- """
-
- @abc.abstractmethod
def create_symmetric_encryption_ctx(self, cipher, mode):
"""
Get a CipherContext that can be used for encryption.