David Reid | 2a746ce | 2013-11-15 15:32:14 -0800 | [diff] [blame^] | 1 | .. hazmat:: |
| 2 | |
| 3 | Backend 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 |