Module Expr Str Import alias Assign NameStore Str ClassDef bases NameLoad body Pass decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad For NameStore Call AttributeLoad NameLoad attr Str body If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr Str orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str Return Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd Str Call AttributeLoad Str attr NameLoad Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot NameLoad body Raise Call NameLoad Str Assign NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr Str TupleLoad For TupleStore NameStore NameStore NameLoad body If CompareEq NameLoad Str body If Call AttributeLoad Call NameLoad NameLoad attr NameLoad body Return Expr Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body For NameStore Call AttributeLoad NameLoad attr Str TupleLoad body For TupleStore NameStore NameStore NameLoad body If CompareEq NameLoad Str body If Call AttributeLoad Call NameLoad NameLoad attr NameLoad body Return Expr Call AttributeLoad NameLoad attr NameLoad If CompareGt Call NameLoad NameLoad Num body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad Call AttributeLoad Str attr Call NameLoad NameLoad NameLoad orelse If CompareEq Call NameLoad NameLoad Num body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad SubscriptLoad NameLoad Index Num orelse Raise Call NameLoad Str decorator_list
N/A N/A The match_hostname() function from Python 3.2, essential when using SSL. N/A re N/A __version__ 3.2.2 CertificateError N/A ValueError N/A N/A N/A _dnsname_to_pat N/A N/A dn N/A N/A N/A pats N/A N/A frag N/A N/A dn split . N/A N/A N/A frag * N/A N/A N/A N/A pats append [^.]+ N/A N/A frag N/A N/A re escape frag N/A N/A N/A pats append N/A N/A frag replace \* [^.]* N/A N/A N/A re compile N/A N/A \A N/A N/A \. join pats \Z N/A re IGNORECASE N/A match_hostname N/A N/A cert hostname N/A N/A N/A Verify that *cert* (in decoded format as returned by
    SSLSocket.getpeercert()) matches the *hostname*.  RFC 2818 rules
    are mostly followed, but IP addresses are not accepted for *hostname*.

    CertificateError is raised on failure. On success, the function
    returns nothing.
     N/A N/A cert N/A N/A N/A ValueError empty or no certificate N/A dnsnames N/A N/A san N/A N/A cert get subjectAltName N/A N/A N/A key value san N/A N/A N/A key DNS N/A N/A N/A N/A N/A _dnsname_to_pat value match hostname N/A N/A N/A N/A N/A dnsnames append value N/A N/A dnsnames N/A N/A sub N/A N/A cert get subject N/A N/A N/A N/A key value sub N/A N/A N/A key commonName N/A N/A N/A N/A N/A _dnsname_to_pat value match hostname N/A N/A N/A N/A N/A dnsnames append value N/A N/A N/A len dnsnames 1 N/A N/A N/A CertificateError N/A hostname %r doesn't match either of %s N/A hostname N/A N/A ,  join N/A map repr dnsnames N/A N/A N/A N/A len dnsnames 1 N/A N/A N/A CertificateError N/A hostname %r doesn't match %r N/A hostname N/A dnsnames N/A 0 N/A N/A N/A CertificateError no appropriate commonName or subjectAltName fields were found N/A