1Exceptions 2========== 3 4.. currentmodule:: cryptography.exceptions 5 6 7.. class:: UnsupportedAlgorithm 8 9 Raised when the requested algorithm, or combination of algorithms is not 10 supported. 11 12 13.. class:: AlreadyFinalized 14 15 This is raised when a context is used after being finalized. 16 17 18.. class:: InvalidSignature 19 20 This is raised when signature verification fails. This can occur with 21 HMAC or asymmetric key signature validation. 22 23 24.. class:: NotYetFinalized 25 26 This is raised when the AEAD tag property is accessed on a context 27 before it is finalized. 28 29 30.. class:: AlreadyUpdated 31 32 This is raised when additional data is added to a context after update 33 has already been called. 34 35 36.. class:: InvalidKey 37 38 This is raised when the verify method of a key derivation function's 39 computed key does not match the expected key. 40