Danger
This is a “Hazardous Materials” module. You should ONLY use it if you’re 100% absolutely sure that you know what you’re doing because this module is full of land mines, dragons, and dinosaurs with laser guns.
CommonCrypto binding¶
New in version 0.2.
These are CFFI bindings to the CommonCrypto C library. It is only available on Mac OS X versions 10.8 and above.
-
class
cryptography.hazmat.bindings.commoncrypto.binding.
Binding
¶ This is the exposed API for the CommonCrypto bindings. It has two public attributes:
-
ffi
¶ This is a
cffi.FFI
instance. It can be used to allocate and otherwise manipulate CommonCrypto structures.
-
lib
¶ This is a
cffi
library. It can be used to call CommonCrypto functions, and access constants.
-