aboutsummaryrefslogtreecommitdiffstats
path: root/docs/exceptions.rst
diff options
context:
space:
mode:
authorAyrx <terrycwk1994@gmail.com>2014-02-13 18:52:31 +0800
committerAyrx <terrycwk1994@gmail.com>2014-02-21 11:13:35 +0800
commitb5189afaf1dd1c06edd0efe3d6791ea7c40e31c7 (patch)
tree5d19ddb2ff150be98f22f104acaea3da44e82a08 /docs/exceptions.rst
parent25b1d21b40f531450877bcfbee55406b28111dca (diff)
downloadcryptography-b5189afaf1dd1c06edd0efe3d6791ea7c40e31c7.tar.gz
cryptography-b5189afaf1dd1c06edd0efe3d6791ea7c40e31c7.tar.bz2
cryptography-b5189afaf1dd1c06edd0efe3d6791ea7c40e31c7.zip
Added a max limit of 8 on length parameter. Updated documentation.
Diffstat (limited to 'docs/exceptions.rst')
-rw-r--r--docs/exceptions.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/exceptions.rst b/docs/exceptions.rst
index 1e31e31c..8ca9df29 100644
--- a/docs/exceptions.rst
+++ b/docs/exceptions.rst
@@ -36,3 +36,9 @@ Exceptions
This is raised when the verify method of a key derivation function's
computed key does not match the expected key.
+
+
+.. class:: InvalidToken
+
+ This is raised when the verify method of a one time password function's
+ computed token does not match the expected token.