Alex Gaynor | 6d02e2d | 2013-09-30 10:37:22 -0700 | [diff] [blame] | 1 | OpenSSL |
| 2 | ======= |
| 3 | |
Donald Stufft | d8f0118 | 2013-10-27 16:59:56 -0400 | [diff] [blame] | 4 | .. danger:: |
Alex Gaynor | 0f7f781 | 2013-09-30 10:52:36 -0700 | [diff] [blame] | 5 | |
Donald Stufft | d8f0118 | 2013-10-27 16:59:56 -0400 | [diff] [blame] | 6 | This is a "Hazardous Materials" module. You should **ONLY** use it if |
| 7 | you're 100% absolutely sure that you know what you're doing because this |
| 8 | module is full of land mines, dragons, and dinosaurs with laser guns. |
Alex Gaynor | 0f7f781 | 2013-09-30 10:52:36 -0700 | [diff] [blame] | 9 | |
| 10 | |
Alex Gaynor | 6d02e2d | 2013-09-30 10:37:22 -0700 | [diff] [blame] | 11 | These are `CFFI`_ bindings to the `OpenSSL`_ C library. |
| 12 | |
Donald Stufft | ce0d781 | 2013-10-27 16:52:33 -0400 | [diff] [blame] | 13 | .. data:: cryptography.hazmat.bindings.openssl.backend |
Alex Gaynor | 6d02e2d | 2013-09-30 10:37:22 -0700 | [diff] [blame] | 14 | |
Paul Kehrer | 2c4873f | 2013-10-22 20:19:38 -0500 | [diff] [blame] | 15 | 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] | 16 | attributes: |
| 17 | |
| 18 | .. attribute:: ffi |
| 19 | |
| 20 | This is a :class:`cffi.FFI` instance. It can be used to allocate and |
| 21 | otherwise manipulate OpenSSL structures. |
| 22 | |
| 23 | .. attribute:: lib |
| 24 | |
| 25 | This is a ``cffi`` library. It can be used to call OpenSSL functions, |
| 26 | and access constants. |
| 27 | |
| 28 | |
| 29 | .. _`CFFI`: http://cffi.readthedocs.org/ |
| 30 | .. _`OpenSSL`: https://www.openssl.org/ |