aboutsummaryrefslogtreecommitdiffstats
path: root/docs/hazmat/primitives/symmetric-encryption.rst
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2017-06-04 11:48:24 -1000
committerAlex Gaynor <alex.gaynor@gmail.com>2017-06-04 17:48:24 -0400
commita8b1c6e9b13724613376e19381f8b460529d12fb (patch)
tree29b422c2719595c8033091778e43901ddf44f09c /docs/hazmat/primitives/symmetric-encryption.rst
parent66dcd38fadc9ec8785de19aedc698cade93cbe26 (diff)
downloadcryptography-a8b1c6e9b13724613376e19381f8b460529d12fb.tar.gz
cryptography-a8b1c6e9b13724613376e19381f8b460529d12fb.tar.bz2
cryptography-a8b1c6e9b13724613376e19381f8b460529d12fb.zip
document invalidtag (#3675)
* document invalidtag * move invalidtag
Diffstat (limited to 'docs/hazmat/primitives/symmetric-encryption.rst')
-rw-r--r--docs/hazmat/primitives/symmetric-encryption.rst11
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/hazmat/primitives/symmetric-encryption.rst b/docs/hazmat/primitives/symmetric-encryption.rst
index 8b047b8c..8c6087e3 100644
--- a/docs/hazmat/primitives/symmetric-encryption.rst
+++ b/docs/hazmat/primitives/symmetric-encryption.rst
@@ -690,6 +690,17 @@ Interfaces used by the symmetric cipher modes described in
Exact requirements of the tag are described by the documentation of
individual modes.
+Exceptions
+~~~~~~~~~~
+
+.. currentmodule:: cryptography.exceptions
+
+
+.. class:: InvalidTag
+
+ This is raised if an authenticated encryption tag fails to verify during
+ decryption.
+
.. _`described by Colin Percival`: http://www.daemonology.net/blog/2009-06-11-cryptographic-right-answers.html