aboutsummaryrefslogtreecommitdiffstats
path: root/docs/hazmat/bindings/interfaces.rst
blob: 2f16326706f5a9d7115dd4b6693c78b34819e941 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
.. hazmat::

Backend Interfaces
==================

.. currentmodule:: cryptography.hazmat.bindings.interfaces


.. class:: CipherBackend

    .. method:: cipher_supported(cipher, mode)

        pass

    .. method:: register_cipher_adapter(cipher_cls, mode_cls, adapter)

        pass

    .. method:: create_symmetric_encryption_ctx(cipher, mode)

        pass

    .. method:: create_symmetric_decryption_ctx(cipher, mode)

        pass


.. class:: HashBackend

    .. method:: hash_supported(algorithm)

        pass

    .. method:: create_hash_ctx(algorithm)

        pass


.. class:: HMACBackend

    .. method:: create_hmac_ctx(algorithm)

        pass