Alex Stapleton | c368ac2 | 2013-12-31 13:43:38 +0000 | [diff] [blame] | 1 | .. hazmat:: |
| 2 | |
| 3 | OpenSSL Binding |
| 4 | =============== |
| 5 | |
| 6 | .. currentmodule:: cryptography.hazmat.bindings.openssl.binding |
| 7 | |
| 8 | These are `CFFI`_ bindings to the `OpenSSL`_ C library. |
| 9 | |
| 10 | .. class:: cryptography.hazmat.bindings.openssl.binding.Binding() |
| 11 | |
| 12 | This is the exposed API for the OpenSSL bindings. It has two public |
| 13 | attributes: |
| 14 | |
| 15 | .. attribute:: ffi |
| 16 | |
| 17 | This is a :class:`cffi.FFI` instance. It can be used to allocate and |
| 18 | otherwise manipulate OpenSSL structures. |
| 19 | |
| 20 | .. attribute:: lib |
| 21 | |
| 22 | This is a ``cffi`` library. It can be used to call OpenSSL functions, |
| 23 | and access constants. |
| 24 | |
| 25 | |
| 26 | .. _`CFFI`: https://cffi.readthedocs.org/ |
| 27 | .. _`OpenSSL`: https://www.openssl.org/ |