let's try renaming everything I said I'd rename
diff --git a/cryptography/hazmat/backends/interfaces.py b/cryptography/hazmat/backends/interfaces.py
index e4e69f1..8d17d3a 100644
--- a/cryptography/hazmat/backends/interfaces.py
+++ b/cryptography/hazmat/backends/interfaces.py
@@ -99,7 +99,8 @@
"""
@abc.abstractmethod
- def create_rsa_verify_ctx(self, public_key, signature, padding, algorithm):
+ def create_rsa_verification_ctx(self, public_key, signature, padding, algorithm):
"""
- Returns an object conforming to the AsymmetricVerifyContext interface.
+ Returns an object conforming to the AsymmetricVerificationContext
+ interface.
"""
diff --git a/cryptography/hazmat/primitives/interfaces.py b/cryptography/hazmat/primitives/interfaces.py
index f5d301d..1169616 100644
--- a/cryptography/hazmat/primitives/interfaces.py
+++ b/cryptography/hazmat/primitives/interfaces.py
@@ -301,7 +301,7 @@
"""
-class AsymmetricVerifyContext(six.with_metaclass(abc.ABCMeta)):
+class AsymmetricVerificationContext(six.with_metaclass(abc.ABCMeta)):
@abc.abstractmethod
def update(self, data):
"""
@@ -309,7 +309,7 @@
"""
@abc.abstractmethod
- def finalize(self):
+ def verify(self):
"""
Raises an exception if the bytes provided to update do not match the
signature or the signature does not match the public key.
diff --git a/docs/hazmat/backends/interfaces.rst b/docs/hazmat/backends/interfaces.rst
index c54340b..bd38ed5 100644
--- a/docs/hazmat/backends/interfaces.rst
+++ b/docs/hazmat/backends/interfaces.rst
@@ -247,4 +247,4 @@
provider.
:returns:
- :class:`~cryptography.hazmat.primitives.interfaces.AsymmetricVerifyContext`
+ :class:`~cryptography.hazmat.primitives.interfaces.AsymmetricVerificationContext`
diff --git a/docs/hazmat/primitives/interfaces.rst b/docs/hazmat/primitives/interfaces.rst
index 6fbc61b..5be3dd9 100644
--- a/docs/hazmat/primitives/interfaces.rst
+++ b/docs/hazmat/primitives/interfaces.rst
@@ -244,7 +244,7 @@
:return bytes signature: The signature.
-.. class:: AsymmetricVerifyContext
+.. class:: AsymmetricVerificationContext
.. versionadded:: 0.2