aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2014-04-07 22:15:38 -0500
committerPaul Kehrer <paul.l.kehrer@gmail.com>2014-04-20 16:53:03 -0500
commitaf9a2cc7bc73129fcd807ac890be59dcc9672a4c (patch)
treebeffb48565b4b5db89e5dfc2f7a90fe09b7af780 /docs
parente1c89f3d25c381f945db9de45c4782b123b7fe49 (diff)
downloadcryptography-af9a2cc7bc73129fcd807ac890be59dcc9672a4c.tar.gz
cryptography-af9a2cc7bc73129fcd807ac890be59dcc9672a4c.tar.bz2
cryptography-af9a2cc7bc73129fcd807ac890be59dcc9672a4c.zip
add InvalidDecryption exception, check for ct > key size
Diffstat (limited to 'docs')
-rw-r--r--docs/exceptions.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/exceptions.rst b/docs/exceptions.rst
index 28da8ecc..23e0df0a 100644
--- a/docs/exceptions.rst
+++ b/docs/exceptions.rst
@@ -43,3 +43,7 @@ Exceptions
This is raised when the verify method of a one time password function's
computed token does not match the expected token.
+
+.. class:: InvalidDecryption
+
+ This is raised when RSA decryption does not succeed.