blob: 373fe4728d4299f07bf3464f85d28d69401a4034 [file] [log] [blame]
Alex Stapletonc368ac22013-12-31 13:43:38 +00001.. hazmat::
2
3OpenSSL Binding
4===============
5
6.. currentmodule:: cryptography.hazmat.bindings.openssl.binding
7
8These 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/