diff options
Diffstat (limited to 'docs/exceptions.rst')
-rw-r--r-- | docs/exceptions.rst | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/docs/exceptions.rst b/docs/exceptions.rst index 6ac11b3c..087066b8 100644 --- a/docs/exceptions.rst +++ b/docs/exceptions.rst @@ -3,6 +3,23 @@ Exceptions .. currentmodule:: cryptography.exceptions +.. class:: AlreadyFinalized + + This is raised when a context is used after being finalized. + + +.. class:: NotYetFinalized + + This is raised when the AEAD tag property is accessed on a context + before it is finalized. + + +.. class:: AlreadyUpdated + + This is raised when additional data is added to a context after update + has already been called. + + .. class:: UnsupportedAlgorithm This is raised when a backend doesn't support the requested algorithm (or |