cryptography/docs/exceptions.rst

40 lines
853 B
ReStructuredText
Raw Normal View History

Exceptions
==========
.. currentmodule:: cryptography.exceptions
.. class:: UnsupportedAlgorithm
Raised when the requested algorithm, or combination of algorithms is not
supported.
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
2014-02-24 01:13:19 +00:00
This is raised when signature verification fails. This can occur with
HMAC or asymmetric key signature validation.
2013-12-25 19:00:49 +00:00
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:: InvalidKey
2014-01-27 23:59:17 +00:00
This is raised when the verify method of a key derivation function's
computed key does not match the expected key.