aboutsummaryrefslogtreecommitdiffstats
path: root/docs/hazmat/primitives/hmac.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/hazmat/primitives/hmac.rst')
-rw-r--r--docs/hazmat/primitives/hmac.rst7
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/hazmat/primitives/hmac.rst b/docs/hazmat/primitives/hmac.rst
index b556bd6a..0c19f20c 100644
--- a/docs/hazmat/primitives/hmac.rst
+++ b/docs/hazmat/primitives/hmac.rst
@@ -70,9 +70,10 @@ message.
:return bytes: The message digest as bytes.
:raises cryptography.exceptions.AlreadyFinalized:
- .. method:: verify(sig)
+ .. method:: verify(signature)
- Finalize the current context and securely compare digest to sig.
+ Finalize the current context and securely compare digest to ``signature``.
+ :param bytes signature: The bytes of the HMAC signature recieved.
:raises cryptography.exceptions.AlreadyFinalized: See :meth:`finalize`
- :raises cryptography.exceptions.InvalidSignature: If sig does not match digest
+ :raises cryptography.exceptions.InvalidSignature: If signature does not match digest