OpenQuizz
Une application de gestion des contenus pédagogiques
|
Functions | |
def | match_hostname (cert, hostname) |
Variables | |
ip_address | |
def pymongo.ssl_match_hostname.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. CertificateError is raised on failure. On success, the function returns nothing.
ip_address |