Skip to content

Latest commit

 

History

History
39 lines (20 loc) · 853 Bytes

exceptions.rst

File metadata and controls

39 lines (20 loc) · 853 Bytes

Exceptions

cryptography.exceptions

Raised when the requested algorithm, or combination of algorithms is not supported.

This is raised when a context is used after being finalized.

This is raised when signature verification fails. This can occur with HMAC or asymmetric key signature validation.

This is raised when the AEAD tag property is accessed on a context before it is finalized.

This is raised when additional data is added to a context after update has already been called.

This is raised when the verify method of a key derivation function's computed key does not match the expected key.