Alex Gaynor | af82d5e | 2013-10-29 17:07:24 -0700 | [diff] [blame] | 1 | .. hazmat:: |
Alex Gaynor | 0f7f781 | 2013-09-30 10:52:36 -0700 | [diff] [blame] | 2 | |
Donald Stufft | e51fb93 | 2013-10-27 17:26:17 -0400 | [diff] [blame] | 3 | OpenSSL |
| 4 | ======= |
| 5 | |
Alex Gaynor | 6d02e2d | 2013-09-30 10:37:22 -0700 | [diff] [blame] | 6 | These are `CFFI`_ bindings to the `OpenSSL`_ C library. |
| 7 | |
Donald Stufft | ce0d781 | 2013-10-27 16:52:33 -0400 | [diff] [blame] | 8 | .. data:: cryptography.hazmat.bindings.openssl.backend |
Alex Gaynor | 6d02e2d | 2013-09-30 10:37:22 -0700 | [diff] [blame] | 9 | |
Paul Kehrer | 2c4873f | 2013-10-22 20:19:38 -0500 | [diff] [blame] | 10 | This is the exposed API for the OpenSSL bindings. It has two public |
Alex Gaynor | 6d02e2d | 2013-09-30 10:37:22 -0700 | [diff] [blame] | 11 | attributes: |
| 12 | |
| 13 | .. attribute:: ffi |
| 14 | |
| 15 | This is a :class:`cffi.FFI` instance. It can be used to allocate and |
| 16 | otherwise manipulate OpenSSL structures. |
| 17 | |
| 18 | .. attribute:: lib |
| 19 | |
| 20 | This is a ``cffi`` library. It can be used to call OpenSSL functions, |
| 21 | and access constants. |
| 22 | |
| 23 | |
| 24 | .. _`CFFI`: http://cffi.readthedocs.org/ |
| 25 | .. _`OpenSSL`: https://www.openssl.org/ |