aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorAyrx <terrycwk1994@gmail.com>2014-03-16 14:14:17 +0800
committerAyrx <terrycwk1994@gmail.com>2014-03-16 14:14:17 +0800
commitecac0290b7fedc71e72b1fb0a7bfc02433a11f7f (patch)
treecae9a09b6ab5349ce6dfdf43180054d5a9e10d7a /docs
parent3fb221f1fb02ffed7a558bd06ba41bb75c329fc5 (diff)
downloadcryptography-ecac0290b7fedc71e72b1fb0a7bfc02433a11f7f.tar.gz
cryptography-ecac0290b7fedc71e72b1fb0a7bfc02433a11f7f.tar.bz2
cryptography-ecac0290b7fedc71e72b1fb0a7bfc02433a11f7f.zip
Added backend check to hmac primitives
Diffstat (limited to 'docs')
-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.