diff options
Diffstat (limited to 'docs/exceptions.rst')
-rw-r--r-- | docs/exceptions.rst | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/docs/exceptions.rst b/docs/exceptions.rst index 7f9ae347..28da8ecc 100644 --- a/docs/exceptions.rst +++ b/docs/exceptions.rst @@ -3,6 +3,13 @@ Exceptions .. currentmodule:: cryptography.exceptions + +.. class:: UnsupportedAlgorithm + + Raised when the requested algorithm, or combination of algorithms is not + supported. + + .. class:: AlreadyFinalized This is raised when a context is used after being finalized. @@ -26,12 +33,6 @@ Exceptions has already been called. -.. class:: UnsupportedAlgorithm - - This is raised when a backend doesn't support the requested algorithm (or - combination of algorithms). - - .. class:: InvalidKey This is raised when the verify method of a key derivation function's @@ -42,8 +43,3 @@ Exceptions This is raised when the verify method of a one time password function's computed token does not match the expected token. - - -.. class:: UnsupportedPadding - - This is raised when the chosen padding is not supported by the backend. |