Exceptions ========== .. currentmodule:: cryptography.exceptions .. class:: AlreadyFinalized This is raised when a context is used after being finalized. .. class:: UnsupportedAlgorithm This is raised when a backend doesn't support the requested algorithm (or combination of algorithms). .. class:: IncorrectPadding This is raised when a block cipher's content isn't correctly padded.