diff options
Diffstat (limited to 'docs/hazmat/primitives')
| -rw-r--r-- | docs/hazmat/primitives/hmac.rst | 9 | 
1 files changed, 6 insertions, 3 deletions
| diff --git a/docs/hazmat/primitives/hmac.rst b/docs/hazmat/primitives/hmac.rst index b8f94fd2..dc5c54f8 100644 --- a/docs/hazmat/primitives/hmac.rst +++ b/docs/hazmat/primitives/hmac.rst @@ -74,8 +74,11 @@ message.      .. method:: verify(signature) -        Finalize the current context and securely compare digest to ``signature``. +        Finalize the current context and securely compare digest to +        ``signature``. -        :param bytes signature: The bytes of the HMAC signature recieved. +        :param bytes signature: The bytes to compare the current digest +                                against.          :raises cryptography.exceptions.AlreadyFinalized: See :meth:`finalize` -        :raises cryptography.exceptions.InvalidSignature: If signature does not match digest +        :raises cryptography.exceptions.InvalidSignature: If signature does not +                                                          match digest | 
