OpenQuizz
Une application de gestion des contenus pédagogiques
pymongo.ssl_support Namespace Reference

Data Structures

class  SSLError
 

Functions

def validate_cert_reqs (option, value)
 
def validate_allow_invalid_certs (option, value)
 
def get_ssl_context (*args)
 

Variables

 HAVE_SSL
 
 HAVE_CERTIFI
 
 HAVE_WINCERTSTORE
 
 HAS_SNI
 
 IPADDR_SAFE
 
 SSLError
 

Function Documentation

◆ get_ssl_context()

def pymongo.ssl_support.get_ssl_context ( dummy)
Create and return an SSLContext object.
No ssl module, raise ConfigurationError.

◆ validate_allow_invalid_certs()

def validate_allow_invalid_certs (   option,
  dummy 
)
Validate the option to allow invalid certificates is valid.
No ssl module, raise ConfigurationError.

◆ validate_cert_reqs()

def validate_cert_reqs (   option,
  dummy 
)
Validate the cert reqs are valid. It must be None or one of the
three values ``ssl.CERT_NONE``, ``ssl.CERT_OPTIONAL`` or
``ssl.CERT_REQUIRED``.
No ssl module, raise ConfigurationError.

Variable Documentation

◆ HAS_SNI

HAS_SNI

◆ HAVE_CERTIFI

HAVE_CERTIFI

◆ HAVE_SSL

HAVE_SSL

◆ HAVE_WINCERTSTORE

HAVE_WINCERTSTORE

◆ IPADDR_SAFE

IPADDR_SAFE

◆ SSLError