aboutsummaryrefslogtreecommitdiffstats
path: root/docs/exceptions.rst
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2014-03-22 15:09:34 -0700
committerAlex Stapleton <alexs@prol.etari.at>2014-03-27 07:31:12 +0000
commit7a489dbd116edd4ca5a6104b74748f3a4f712d15 (patch)
tree03b1fc8cdcde0e7c1032495d7d3b947540b931ad /docs/exceptions.rst
parent844c14a15884fb60871640576e30a61e6c4c2db1 (diff)
downloadcryptography-7a489dbd116edd4ca5a6104b74748f3a4f712d15.tar.gz
cryptography-7a489dbd116edd4ca5a6104b74748f3a4f712d15.tar.bz2
cryptography-7a489dbd116edd4ca5a6104b74748f3a4f712d15.zip
Fixed #809 -- switch back to always using UnsupportedAlgorithm
Diffstat (limited to 'docs/exceptions.rst')
-rw-r--r--docs/exceptions.rst33
1 files changed, 7 insertions, 26 deletions
diff --git a/docs/exceptions.rst b/docs/exceptions.rst
index e5010ebe..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.
@@ -25,25 +32,6 @@ Exceptions
This is raised when additional data is added to a context after update
has already been called.
-.. class:: UnsupportedCipher
-
- .. versionadded:: 0.3
-
- This is raised when a backend doesn't support the requested cipher
- algorithm and mode combination.
-
-.. class:: UnsupportedHash
-
- .. versionadded:: 0.3
-
- This is raised when a backend doesn't support the requested hash algorithm.
-
-.. class:: UnsupportedPadding
-
- .. versionadded:: 0.3
-
- This is raised when the requested padding is not supported by the backend.
-
.. class:: InvalidKey
@@ -55,10 +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:: UnsupportedInterface
-
- .. versionadded:: 0.3
-
- This is raised when the provided backend does not support the required
- interface.