aboutsummaryrefslogtreecommitdiffstats
path: root/docs/hazmat
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2014-03-16 08:04:10 -0430
committerPaul Kehrer <paul.l.kehrer@gmail.com>2014-03-16 08:04:10 -0430
commit77fdd4e4559c30ee0155430f6fe192311b5eae8b (patch)
tree22351055cf68c4306926d3dfff3430d21f68c376 /docs/hazmat
parente2083365826c231f0a11efb7555280b4a1579a9e (diff)
parentf575ec18b36fd87ff54d63ed959781070efdf053 (diff)
downloadcryptography-77fdd4e4559c30ee0155430f6fe192311b5eae8b.tar.gz
cryptography-77fdd4e4559c30ee0155430f6fe192311b5eae8b.tar.bz2
cryptography-77fdd4e4559c30ee0155430f6fe192311b5eae8b.zip
Merge pull request #805 from Ayrx/add-backend-check-to-hmac
Added backend check to hmac primitives
Diffstat (limited to 'docs/hazmat')
-rw-r--r--docs/hazmat/primitives/hmac.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/hazmat/primitives/hmac.rst b/docs/hazmat/primitives/hmac.rst
index 6ca9e167..ce4e8803 100644
--- a/docs/hazmat/primitives/hmac.rst
+++ b/docs/hazmat/primitives/hmac.rst
@@ -56,6 +56,10 @@ of a message.
:class:`~cryptography.hazmat.backends.interfaces.HMACBackend`
provider.
+ :raises cryptography.exceptions.UnsupportedInterface: This is raised if the
+ provided ``backend`` does not implement
+ :class:`~cryptography.hazmat.backends.interfaces.HMACBackend`
+
.. method:: update(msg)
:param bytes msg: The bytes to hash and authenticate.