|
OpenQuizz
Une application de gestion des contenus pédagogiques
|
Data Structures | |
| class | CertificateError |
| class | VerifyingHTTPSConn |
| class | VerifyingHTTPSHandler |
Functions | |
| def | match_hostname (cert, hostname) |
| def | opener_for (ca_bundle=None) |
| def | once (func) |
| def | get_win_certfile () |
| def | find_ca_bundle () |
Variables | |
| ssl | |
| cert_paths | |
| HTTPSHandler | |
| HTTPSConnection | |
| is_available | |
| CertificateError | |
| match_hostname | |
| def setuptools.ssl_support.find_ca_bundle | ( | ) |
Return an existing CA bundle path, or None
| def setuptools.ssl_support.get_win_certfile | ( | ) |
| def setuptools.ssl_support.match_hostname | ( | cert, | |
| hostname | |||
| ) |
Verify that *cert* (in decoded format as returned by SSLSocket.getpeercert()) matches the *hostname*. RFC 2818 and RFC 6125 rules are followed, but IP addresses are not accepted for *hostname*. CertificateError is raised on failure. On success, the function returns nothing.
| def setuptools.ssl_support.once | ( | func | ) |
| def setuptools.ssl_support.opener_for | ( | ca_bundle = None | ) |
Get a urlopen() replacement that uses ca_bundle for verification
| cert_paths |
| HTTPSConnection |
| HTTPSHandler |
| is_available |
| match_hostname |
| ssl |