aboutsummaryrefslogtreecommitdiffstats
path: root/docs/exceptions.rst
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2014-01-28 08:50:37 -0800
committerPaul Kehrer <paul.l.kehrer@gmail.com>2014-01-28 08:50:37 -0800
commit1f8cd620cfbb854b0dfcdbf89c140160a8caba13 (patch)
treebc8df644f525bb5b5ed97e83324b1e3d4ad8a6f2 /docs/exceptions.rst
parent59393dde1b47e235bc3803815909f944f54fa32f (diff)
parent8454c5153537439b36b879e82ab3a3d8e7aa7909 (diff)
downloadcryptography-1f8cd620cfbb854b0dfcdbf89c140160a8caba13.tar.gz
cryptography-1f8cd620cfbb854b0dfcdbf89c140160a8caba13.tar.bz2
cryptography-1f8cd620cfbb854b0dfcdbf89c140160a8caba13.zip
Merge pull request #513 from alex/kdf-interface
Begin designing the KDF interfaces. Fixes #511
Diffstat (limited to 'docs/exceptions.rst')
-rw-r--r--docs/exceptions.rst10
1 files changed, 8 insertions, 2 deletions
diff --git a/docs/exceptions.rst b/docs/exceptions.rst
index 1fbd3267..1e31e31c 100644
--- a/docs/exceptions.rst
+++ b/docs/exceptions.rst
@@ -10,8 +10,8 @@ Exceptions
.. class:: InvalidSignature
- This is raised when the verify method of a hash context does not
- compare equal.
+ This is raised when the verify method of a hash context's computed digest
+ does not match the expected digest.
.. class:: NotYetFinalized
@@ -30,3 +30,9 @@ Exceptions
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
+ computed key does not match the expected key.