cryptography/docs/exceptions.rst

39 lines
811 B
ReStructuredText
Raw Normal View History

Exceptions
==========
.. currentmodule:: cryptography.exceptions
2013-11-13 18:01:15 +00:00
.. class:: AlreadyFinalized
2013-11-13 21:02:44 +00:00
This is raised when a context is used after being finalized.
2013-11-13 18:01:15 +00:00
2013-11-22 20:10:59 +00:00
2013-12-25 19:00:49 +00:00
.. class:: InvalidSignature
This is raised when the verify method of a hash context does not
2013-12-25 19:00:49 +00:00
compare equal.
2013-11-22 20:10:59 +00:00
.. class:: NotYetFinalized
2013-11-21 03:27:00 +00:00
This is raised when the AEAD tag property is accessed on a context
before it is finalized.
2013-11-13 18:01:15 +00:00
2013-11-22 20:10:59 +00:00
.. class:: AlreadyUpdated
This is raised when additional data is added to a context after update
has already been called.
.. class:: UnsupportedAlgorithm
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 does not
compare equal.