diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2017-06-04 11:48:24 -1000 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2017-06-04 17:48:24 -0400 |
commit | a8b1c6e9b13724613376e19381f8b460529d12fb (patch) | |
tree | 29b422c2719595c8033091778e43901ddf44f09c /docs/hazmat/primitives | |
parent | 66dcd38fadc9ec8785de19aedc698cade93cbe26 (diff) | |
download | cryptography-a8b1c6e9b13724613376e19381f8b460529d12fb.tar.gz cryptography-a8b1c6e9b13724613376e19381f8b460529d12fb.tar.bz2 cryptography-a8b1c6e9b13724613376e19381f8b460529d12fb.zip |
document invalidtag (#3675)
* document invalidtag
* move invalidtag
Diffstat (limited to 'docs/hazmat/primitives')
-rw-r--r-- | docs/hazmat/primitives/symmetric-encryption.rst | 11 |
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 |