blob: edd45b6be3e6c32fcd3cc28f9030e711d02a6997 [file] [log] [blame]
Paul Kehrera9e31b32014-01-10 00:03:03 -06001.. hazmat::
2
3CommonCrypto Backend
4====================
5
6These are `CFFI`_ bindings to the `CommonCrypto`_ C library provided by Apple
7on OS X and iOS.
8
9.. currentmodule:: cryptography.hazmat.backends.commoncrypto.backend
10
11.. data:: cryptography.hazmat.backends.commoncrypto.backend
12
13 This is the exposed API for the CommonCrypto bindings. It has two public
14 attributes:
15
16 .. attribute:: ffi
17
18 This is a :class:`cffi.FFI` instance. It can be used to allocate and
19 otherwise manipulate CommonCrypto structures.
20
21 .. attribute:: lib
22
23 This is a ``cffi`` library. It can be used to call CommonCrypto
24 functions, and access constants.
25
26
27.. _`CFFI`: https://cffi.readthedocs.org/
28.. _`CommonCrypto`: https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man3/Common%20Crypto.3cc.html