blob: 7ec3cd27313ee006876bf1ed76a9a4b2d659759f [file] [log] [blame]
Alex Gaynorf1a3fc02013-11-02 14:03:34 -07001Exceptions
2==========
3
4.. currentmodule:: cryptography.exceptions
5
David Reid6392a9c2013-11-13 10:01:15 -08006.. class:: AlreadyFinalized
7
David Reid00fb12a2013-11-13 13:02:44 -08008 This is raised when a context is used after being finalized.
David Reid6392a9c2013-11-13 10:01:15 -08009
Paul Kehrer22e80cb2013-11-20 21:27:00 -060010.. class:: NotFinalized
11
12 This is raised when the AEAD tag property is accessed on a context
13 before it is finalized.
14
David Reid6392a9c2013-11-13 10:01:15 -080015
Alex Gaynor3949f112013-11-02 16:57:10 -070016.. class:: UnsupportedAlgorithm
Alex Gaynorf1a3fc02013-11-02 14:03:34 -070017
18 This is raised when a backend doesn't support the requested algorithm (or
19 combination of algorithms).