aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulian Krause <julian.krause@gmail.com>2013-12-26 21:06:07 -0800
committerJulian Krause <julian.krause@gmail.com>2013-12-26 21:06:07 -0800
commit5093d97130ff3ae5328d1e6e83e86f1988f1e277 (patch)
tree495e58e209d3171852dfe4c2c2bf0cfb472ce534
parente62760af74ebb8b08d7670dfaff177cdeb679f0f (diff)
downloadcryptography-5093d97130ff3ae5328d1e6e83e86f1988f1e277.tar.gz
cryptography-5093d97130ff3ae5328d1e6e83e86f1988f1e277.tar.bz2
cryptography-5093d97130ff3ae5328d1e6e83e86f1988f1e277.zip
Update documentation on interface as well.
-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.
"""