aboutsummaryrefslogtreecommitdiffstats
path: root/docs/hazmat/bindings/interfaces.rst
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2013-12-06 11:49:42 -0600
committerPaul Kehrer <paul.l.kehrer@gmail.com>2013-12-06 11:57:04 -0600
commita07925a154e2b28db30499c5a3cf40fedc451d10 (patch)
tree9a3a94bc7b39fdae6554b452a5b4fd25ac9ec726 /docs/hazmat/bindings/interfaces.rst
parentb91221dd7f27b3dcc09d3ad55645b12da08780cf (diff)
downloadcryptography-a07925a154e2b28db30499c5a3cf40fedc451d10.tar.gz
cryptography-a07925a154e2b28db30499c5a3cf40fedc451d10.tar.bz2
cryptography-a07925a154e2b28db30499c5a3cf40fedc451d10.zip
update docs to explain tag requirements and valueerror
Diffstat (limited to 'docs/hazmat/bindings/interfaces.rst')
-rw-r--r--docs/hazmat/bindings/interfaces.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/hazmat/bindings/interfaces.rst b/docs/hazmat/bindings/interfaces.rst
index c55d86dc..711c82c2 100644
--- a/docs/hazmat/bindings/interfaces.rst
+++ b/docs/hazmat/bindings/interfaces.rst
@@ -69,6 +69,8 @@ A specific ``backend`` may provide one or more of these interfaces.
:returns:
:class:`~cryptography.hazmat.primitives.interfaces.CipherContext`
+ :raises ValueError: When tag is not None in an AEAD mode
+
.. method:: create_symmetric_decryption_ctx(cipher, mode)
@@ -86,6 +88,8 @@ A specific ``backend`` may provide one or more of these interfaces.
:returns:
:class:`~cryptography.hazmat.primitives.interfaces.CipherContext`
+ :raises ValueError: When tag is None in an AEAD mode
+
.. class:: HashBackend