blob: 16a61337e48c03359384c087fcba6e0d1faa1418 [file] [log] [blame]
Paul Kehrera9e31b32014-01-10 00:03:03 -06001.. hazmat::
2
3CommonCrypto Backend
4====================
5
Paul Kehrer12656e52014-01-19 12:15:54 -06006The `CommonCrypto`_ C library provided by Apple on OS X and iOS.
Paul Kehrera9e31b32014-01-10 00:03:03 -06007
8.. currentmodule:: cryptography.hazmat.backends.commoncrypto.backend
9
Paul Kehrer6ce4bb72014-01-19 14:29:28 -060010.. versionadded:: 0.2
11
Paul Kehrera9e31b32014-01-10 00:03:03 -060012.. data:: cryptography.hazmat.backends.commoncrypto.backend
13
Alex Gaynor031c2cb2014-01-31 11:44:53 -080014 This is the exposed API for the CommonCrypto backend.
15
Alex Gaynor8ca6fad2014-01-31 13:23:51 -080016 It implements the following interfaces:
17
Alex Gaynor031c2cb2014-01-31 11:44:53 -080018 * :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 Kehrera9e31b32014-01-10 00:03:03 -060024
Paul Kehrerab6fa0a2014-01-19 13:57:15 -060025 .. attribute:: name
Paul Kehrera9e31b32014-01-10 00:03:03 -060026
Paul Kehrerab6fa0a2014-01-19 13:57:15 -060027 The string name of this backend: ``"commoncrypto"``
Paul Kehrera9e31b32014-01-10 00:03:03 -060028
Paul Kehrera9e31b32014-01-10 00:03:03 -060029.. _`CommonCrypto`: https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man3/Common%20Crypto.3cc.html