From 5093d97130ff3ae5328d1e6e83e86f1988f1e277 Mon Sep 17 00:00:00 2001 From: Julian Krause Date: Thu, 26 Dec 2013 21:06:07 -0800 Subject: Update documentation on interface as well. --- cryptography/hazmat/primitives/interfaces.py | 5 +++-- 1 file 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. """ -- cgit v1.2.3