aboutsummaryrefslogtreecommitdiffstats
path: root/docs/exceptions.rst
blob: 7ec3cd27313ee006876bf1ed76a9a4b2d659759f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Exceptions
==========

.. currentmodule:: cryptography.exceptions

.. class:: AlreadyFinalized

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

.. class:: NotFinalized

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


.. class:: UnsupportedAlgorithm

    This is raised when a backend doesn't support the requested algorithm (or
    combination of algorithms).