diff options
author | Julian Krause <julian.krause@gmail.com> | 2013-12-25 11:00:49 -0800 |
---|---|---|
committer | Julian Krause <julian.krause@gmail.com> | 2013-12-25 11:00:49 -0800 |
commit | c91fe6a21fbae3107de7b2e53b7343cd67ac8c6d (patch) | |
tree | d63eddf0364329af999a930100a828817bacfc5f /docs/hazmat/primitives/hmac.rst | |
parent | 2288e30119e2af3e2b448345cf6a9e61f8d06aa0 (diff) | |
download | cryptography-c91fe6a21fbae3107de7b2e53b7343cd67ac8c6d.tar.gz cryptography-c91fe6a21fbae3107de7b2e53b7343cd67ac8c6d.tar.bz2 cryptography-c91fe6a21fbae3107de7b2e53b7343cd67ac8c6d.zip |
Clean up documentation and naming.
Diffstat (limited to 'docs/hazmat/primitives/hmac.rst')
-rw-r--r-- | docs/hazmat/primitives/hmac.rst | 7 |
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 |