From ecac0290b7fedc71e72b1fb0a7bfc02433a11f7f Mon Sep 17 00:00:00 2001 From: Ayrx Date: Sun, 16 Mar 2014 14:14:17 +0800 Subject: Added backend check to hmac primitives --- docs/hazmat/primitives/hmac.rst | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'docs') 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. -- cgit v1.2.3