aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorAyrx <terrycwk1994@gmail.com>2014-03-16 14:36:17 +0800
committerAyrx <terrycwk1994@gmail.com>2014-03-16 14:36:17 +0800
commitf56c54e36ce06e8e29691c3c4dfd000e8477a41d (patch)
tree4a3e86f945b37c950b35d8eb0d11930485c907d4 /docs
parent3fb221f1fb02ffed7a558bd06ba41bb75c329fc5 (diff)
downloadcryptography-f56c54e36ce06e8e29691c3c4dfd000e8477a41d.tar.gz
cryptography-f56c54e36ce06e8e29691c3c4dfd000e8477a41d.tar.bz2
cryptography-f56c54e36ce06e8e29691c3c4dfd000e8477a41d.zip
Added backend check to cipher primitives
Diffstat (limited to 'docs')
-rw-r--r--docs/hazmat/primitives/symmetric-encryption.rst4
1 files changed, 4 insertions, 0 deletions
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