mirror of
https://github.com/saymrwulf/cryptography.git
synced 2026-05-14 20:37:55 +00:00
32 lines
690 B
ReStructuredText
32 lines
690 B
ReStructuredText
Exceptions
|
|
==========
|
|
|
|
.. currentmodule:: cryptography.exceptions
|
|
|
|
.. class:: AlreadyFinalized
|
|
|
|
This is raised when a context is used after being finalized.
|
|
|
|
|
|
.. class:: InvalidSignature
|
|
|
|
This is raised when the verify function of a hash function does not
|
|
compare equal.
|
|
|
|
|
|
.. class:: NotYetFinalized
|
|
|
|
This is raised when the AEAD tag property is accessed on a context
|
|
before it is finalized.
|
|
|
|
|
|
.. 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).
|