diff options
author | Ayrx <terrycwk1994@gmail.com> | 2014-03-16 14:14:17 +0800 |
---|---|---|
committer | Ayrx <terrycwk1994@gmail.com> | 2014-03-16 14:14:17 +0800 |
commit | ecac0290b7fedc71e72b1fb0a7bfc02433a11f7f (patch) | |
tree | cae9a09b6ab5349ce6dfdf43180054d5a9e10d7a /docs/hazmat/primitives | |
parent | 3fb221f1fb02ffed7a558bd06ba41bb75c329fc5 (diff) | |
download | cryptography-ecac0290b7fedc71e72b1fb0a7bfc02433a11f7f.tar.gz cryptography-ecac0290b7fedc71e72b1fb0a7bfc02433a11f7f.tar.bz2 cryptography-ecac0290b7fedc71e72b1fb0a7bfc02433a11f7f.zip |
Added backend check to hmac primitives
Diffstat (limited to 'docs/hazmat/primitives')
-rw-r--r-- | docs/hazmat/primitives/hmac.rst | 4 |
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. |