diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2016-01-22 17:04:09 -0500 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2016-01-22 17:04:09 -0500 |
commit | 1af5dd9dcb1dd56fe3a0cedaf78427cda9c7b644 (patch) | |
tree | d186c3c2b847aab5aa1d2cc6a57ae03d5c1d9aa1 /src/_cffi_src/commoncrypto/secpolicy.py | |
parent | 44ae6cd19b952e927ec636d70e2c84d5b60b590b (diff) | |
parent | ef273ebbc19aa49acb1506a8dffdcc5d72d60c6f (diff) | |
download | cryptography-1af5dd9dcb1dd56fe3a0cedaf78427cda9c7b644.tar.gz cryptography-1af5dd9dcb1dd56fe3a0cedaf78427cda9c7b644.tar.bz2 cryptography-1af5dd9dcb1dd56fe3a0cedaf78427cda9c7b644.zip |
Merge pull request #2683 from Lukasa/more-common-crypto
Bindings for validating TLS cert chains using Security.framework
Diffstat (limited to 'src/_cffi_src/commoncrypto/secpolicy.py')
-rw-r--r-- | src/_cffi_src/commoncrypto/secpolicy.py | 23 |
1 files changed, 23 insertions, 0 deletions
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 <Security/SecPolicy.h> +""" + +TYPES = """ +typedef ... *SecPolicyRef; +""" + +FUNCTIONS = """ +SecPolicyRef SecPolicyCreateSSL(Boolean, CFStringRef); +""" + +MACROS = """ +""" + +CUSTOMIZATIONS = """ +""" |