Paul Kehrer | a9e31b3 | 2014-01-10 00:03:03 -0600 | [diff] [blame] | 1 | .. hazmat:: |
| 2 | |
| 3 | CommonCrypto Backend |
| 4 | ==================== |
| 5 | |
Paul Kehrer | 12656e5 | 2014-01-19 12:15:54 -0600 | [diff] [blame] | 6 | The `CommonCrypto`_ C library provided by Apple on OS X and iOS. |
Paul Kehrer | a9e31b3 | 2014-01-10 00:03:03 -0600 | [diff] [blame] | 7 | |
| 8 | .. currentmodule:: cryptography.hazmat.backends.commoncrypto.backend |
| 9 | |
Paul Kehrer | 6ce4bb7 | 2014-01-19 14:29:28 -0600 | [diff] [blame] | 10 | .. versionadded:: 0.2 |
| 11 | |
Paul Kehrer | a9e31b3 | 2014-01-10 00:03:03 -0600 | [diff] [blame] | 12 | .. data:: cryptography.hazmat.backends.commoncrypto.backend |
| 13 | |
Alex Gaynor | 031c2cb | 2014-01-31 11:44:53 -0800 | [diff] [blame] | 14 | This is the exposed API for the CommonCrypto backend. |
| 15 | |
Alex Gaynor | 8ca6fad | 2014-01-31 13:23:51 -0800 | [diff] [blame^] | 16 | It implements the following interfaces: |
| 17 | |
Alex Gaynor | 031c2cb | 2014-01-31 11:44:53 -0800 | [diff] [blame] | 18 | * :class:`~cryptography.hazmat.backends.interfaces.CipherBackend` |
| 19 | * :class:`~cryptography.hazmat.backends.interfaces.HashBackend` |
| 20 | * :class:`~cryptography.hazmat.backends.interfaces.HMACBackend` |
| 21 | * :class:`~cryptography.hazmat.backends.interfaces.PBKDF2HMACBackend` |
| 22 | |
| 23 | It has one additional public attribute. |
Paul Kehrer | a9e31b3 | 2014-01-10 00:03:03 -0600 | [diff] [blame] | 24 | |
Paul Kehrer | ab6fa0a | 2014-01-19 13:57:15 -0600 | [diff] [blame] | 25 | .. attribute:: name |
Paul Kehrer | a9e31b3 | 2014-01-10 00:03:03 -0600 | [diff] [blame] | 26 | |
Paul Kehrer | ab6fa0a | 2014-01-19 13:57:15 -0600 | [diff] [blame] | 27 | The string name of this backend: ``"commoncrypto"`` |
Paul Kehrer | a9e31b3 | 2014-01-10 00:03:03 -0600 | [diff] [blame] | 28 | |
Paul Kehrer | a9e31b3 | 2014-01-10 00:03:03 -0600 | [diff] [blame] | 29 | .. _`CommonCrypto`: https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man3/Common%20Crypto.3cc.html |