From f56c54e36ce06e8e29691c3c4dfd000e8477a41d Mon Sep 17 00:00:00 2001 From: Ayrx Date: Sun, 16 Mar 2014 14:36:17 +0800 Subject: Added backend check to cipher primitives --- docs/hazmat/primitives/symmetric-encryption.rst | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'docs/hazmat/primitives') diff --git a/docs/hazmat/primitives/symmetric-encryption.rst b/docs/hazmat/primitives/symmetric-encryption.rst index 741091b2..71a1064e 100644 --- a/docs/hazmat/primitives/symmetric-encryption.rst +++ b/docs/hazmat/primitives/symmetric-encryption.rst @@ -56,6 +56,10 @@ an "encrypt-then-MAC" formulation as `described by Colin Percival`_. :class:`~cryptography.hazmat.backends.interfaces.CipherBackend` provider. + :raises cryptography.exceptions.UnsupportedInterface: This is raised if the + provided ``backend`` does not implement + :class:`~cryptography.hazmat.backends.interfaces.CipherBackend` + .. method:: encryptor() :return: An encrypting -- cgit v1.2.3