aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cryptography/hazmat/primitives/interfaces.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/cryptography/hazmat/primitives/interfaces.py b/cryptography/hazmat/primitives/interfaces.py
index c6377df5..4143d644 100644
--- a/cryptography/hazmat/primitives/interfaces.py
+++ b/cryptography/hazmat/primitives/interfaces.py
@@ -164,7 +164,8 @@ class HashContext(six.with_metaclass(abc.ABCMeta)):
"""
@abc.abstractmethod
- def verify(self, sig):
+ def verify(self, signature):
"""
- compare digest to sig and raise exception if not equal.
+ Compare hash digest to signature and raises InvalidSignature
+ they are not equal.
"""