aboutsummaryrefslogtreecommitdiffstats
path: root/docs/exceptions.rst
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2014-03-06 14:22:56 -0800
committerAlex Gaynor <alex.gaynor@gmail.com>2014-03-06 14:22:56 -0800
commitc6a6f317fca2aa368943870ecc3854bb53399f06 (patch)
tree6c975bf178f47d504da5edbce3233ca54a89d82d /docs/exceptions.rst
parent8b347932fb3612e622d07643af62ed939976b9cb (diff)
downloadcryptography-c6a6f317fca2aa368943870ecc3854bb53399f06.tar.gz
cryptography-c6a6f317fca2aa368943870ecc3854bb53399f06.tar.bz2
cryptography-c6a6f317fca2aa368943870ecc3854bb53399f06.zip
Convert stuff
Diffstat (limited to 'docs/exceptions.rst')
-rw-r--r--docs/exceptions.rst23
1 files changed, 16 insertions, 7 deletions
diff --git a/docs/exceptions.rst b/docs/exceptions.rst
index 7f9ae347..48c4bca8 100644
--- a/docs/exceptions.rst
+++ b/docs/exceptions.rst
@@ -25,11 +25,24 @@ Exceptions
This is raised when additional data is added to a context after update
has already been called.
+.. class:: UnsupportedCipher
-.. class:: UnsupportedAlgorithm
+ .. versionadded:: 0.3
- This is raised when a backend doesn't support the requested algorithm (or
- combination of algorithms).
+ 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
@@ -43,7 +56,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.