OpenQuizz
Une application de gestion des contenus pédagogiques
pip._vendor.urllib3.contrib._securetransport.bindings Namespace Reference

Data Structures

class  CFConst
 
class  SecurityConst
 

Functions

def load_cdll (name, macos10_16_path)
 

Variables

 version
 
 version_info
 
 Security
 
 CoreFoundation
 
 Boolean
 
 CFIndex
 
 CFStringEncoding
 
 CFData
 
 CFString
 
 CFArray
 
 CFMutableArray
 
 CFDictionary
 
 CFError
 
 CFType
 
 CFTypeID
 
 CFTypeRef
 
 CFAllocatorRef
 
 OSStatus
 
 CFDataRef
 
 CFStringRef
 
 CFArrayRef
 
 CFMutableArrayRef
 
 CFDictionaryRef
 
 CFArrayCallBacks
 
 CFDictionaryKeyCallBacks
 
 CFDictionaryValueCallBacks
 
 SecCertificateRef
 
 SecExternalFormat
 
 SecExternalItemType
 
 SecIdentityRef
 
 SecItemImportExportFlags
 
 SecItemImportExportKeyParameters
 
 SecKeychainRef
 
 SSLProtocol
 
 SSLCipherSuite
 
 SSLContextRef
 
 SecTrustRef
 
 SSLConnectionRef
 
 SecTrustResultType
 
 SecTrustOptionFlags
 
 SSLProtocolSide
 
 SSLConnectionType
 
 SSLSessionOption
 
 argtypes
 
 restype
 
 SSLReadFunc
 
 SSLWriteFunc
 
 argtype
 
 argstypes
 
 kSecImportExportPassphrase
 
 kSecImportItemIdentity
 
 kCFAllocatorDefault
 
 kCFTypeArrayCallBacks
 
 kCFTypeDictionaryKeyCallBacks
 
 kCFTypeDictionaryValueCallBacks
 

Detailed Description

This module uses ctypes to bind a whole bunch of functions and constants from
SecureTransport. The goal here is to provide the low-level API to
SecureTransport. These are essentially the C-level functions and constants, and
they're pretty gross to work with.

This code is a bastardised version of the code found in Will Bond's oscrypto
library. An enormous debt is owed to him for blazing this trail for us. For
that reason, this code should be considered to be covered both by urllib3's
license and by oscrypto's:

Copyright (c) 2015-2016 Will Bond <will@wbond.net>

Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

Function Documentation

◆ load_cdll()

def pip._vendor.urllib3.contrib._securetransport.bindings.load_cdll (   name,
  macos10_16_path 
)
Loads a CDLL by name, falling back to known path on 10.16+

Variable Documentation

◆ argstypes

argstypes

◆ argtype

argtype

◆ argtypes

argtypes

◆ Boolean

Boolean

◆ CFAllocatorRef

CFAllocatorRef

◆ CFArray

CFArray

◆ CFArrayCallBacks

CFArrayCallBacks

◆ CFArrayRef

CFArrayRef

◆ CFData

CFData

◆ CFDataRef

CFDataRef

◆ CFDictionary

CFDictionary

◆ CFDictionaryKeyCallBacks

CFDictionaryKeyCallBacks

◆ CFDictionaryRef

CFDictionaryRef

◆ CFDictionaryValueCallBacks

CFDictionaryValueCallBacks

◆ CFError

CFError

◆ CFIndex

CFIndex

◆ CFMutableArray

CFMutableArray

◆ CFMutableArrayRef

CFMutableArrayRef

◆ CFString

CFString

◆ CFStringEncoding

CFStringEncoding

◆ CFStringRef

CFStringRef

◆ CFType

CFType

◆ CFTypeID

CFTypeID

◆ CFTypeRef

CFTypeRef

◆ CoreFoundation

CoreFoundation

◆ kCFAllocatorDefault

kCFAllocatorDefault

◆ kCFTypeArrayCallBacks

kCFTypeArrayCallBacks

◆ kCFTypeDictionaryKeyCallBacks

kCFTypeDictionaryKeyCallBacks

◆ kCFTypeDictionaryValueCallBacks

kCFTypeDictionaryValueCallBacks

◆ kSecImportExportPassphrase

kSecImportExportPassphrase

◆ kSecImportItemIdentity

kSecImportItemIdentity

◆ OSStatus

OSStatus

◆ restype

restype

◆ SecCertificateRef

SecCertificateRef

◆ SecExternalFormat

SecExternalFormat

◆ SecExternalItemType

SecExternalItemType

◆ SecIdentityRef

SecIdentityRef

◆ SecItemImportExportFlags

SecItemImportExportFlags

◆ SecItemImportExportKeyParameters

SecItemImportExportKeyParameters

◆ SecKeychainRef

SecKeychainRef

◆ SecTrustOptionFlags

SecTrustOptionFlags

◆ SecTrustRef

SecTrustRef

◆ SecTrustResultType

SecTrustResultType

◆ Security

Security

◆ SSLCipherSuite

SSLCipherSuite

◆ SSLConnectionRef

SSLConnectionRef

◆ SSLConnectionType

SSLConnectionType

◆ SSLContextRef

SSLContextRef

◆ SSLProtocol

SSLProtocol

◆ SSLProtocolSide

SSLProtocolSide

◆ SSLReadFunc

SSLReadFunc

◆ SSLSessionOption

SSLSessionOption

◆ SSLWriteFunc

SSLWriteFunc

◆ version

version

◆ version_info

version_info