From cc72cb5fa2f055db780bf7138c7957c41ad5df07 Mon Sep 17 00:00:00 2001 From: Cory Benfield Date: Fri, 22 Jan 2016 18:12:26 +0000 Subject: New bindings for evaluating certificates. --- src/_cffi_src/commoncrypto/secpolicy.py | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/_cffi_src/commoncrypto/secpolicy.py (limited to 'src/_cffi_src/commoncrypto/secpolicy.py') diff --git a/src/_cffi_src/commoncrypto/secpolicy.py b/src/_cffi_src/commoncrypto/secpolicy.py new file mode 100644 index 00000000..e132cfae --- /dev/null +++ b/src/_cffi_src/commoncrypto/secpolicy.py @@ -0,0 +1,23 @@ +# This file is dual licensed under the terms of the Apache License, Version +# 2.0, and the BSD License. See the LICENSE file in the root of this repository +# for complete details. + +from __future__ import absolute_import, division, print_function + +INCLUDES = """ +#include +""" + +TYPES = """ +typedef ... *SecPolicyRef; +""" + +FUNCTIONS = """ +SecPolicyRef SecPolicyCreateSSL(Boolean, CFStringRef); +""" + +MACROS = """ +""" + +CUSTOMIZATIONS = """ +""" -- cgit v1.2.3