blob: 2f16326706f5a9d7115dd4b6693c78b34819e941 [file] [log] [blame]
David Reid2a746ce2013-11-15 15:32:14 -08001.. hazmat::
2
3Backend Interfaces
4==================
5
6.. currentmodule:: cryptography.hazmat.bindings.interfaces
7
8
9.. class:: CipherBackend
10
11 .. method:: cipher_supported(cipher, mode)
12
13 pass
14
15 .. method:: register_cipher_adapter(cipher_cls, mode_cls, adapter)
16
17 pass
18
19 .. method:: create_symmetric_encryption_ctx(cipher, mode)
20
21 pass
22
23 .. method:: create_symmetric_decryption_ctx(cipher, mode)
24
25 pass
26
27
28.. class:: HashBackend
29
30 .. method:: hash_supported(algorithm)
31
32 pass
33
34 .. method:: create_hash_ctx(algorithm)
35
36 pass
37
38
39.. class:: HMACBackend
40
41 .. method:: create_hmac_ctx(algorithm)
42
43 pass