Module Import alias ClassDef bases NameLoad body Pass decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Num body Expr Str Assign NameStore ListLoad If UnaryOpNot NameLoad body Return NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore SubscriptLoad NameLoad Slice Num Assign NameStore Call AttributeLoad NameLoad attr Str If CompareGt NameLoad NameLoad body Raise Call NameLoad BinOpAdd Str Call NameLoad NameLoad If UnaryOpNot NameLoad body Return CompareEq Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr Str orelse If BoolOpOr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Str Str For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd Str Call AttributeLoad Str attr NameLoad Str AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad 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 NameLoad NameLoad 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 NameLoad NameLoad 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 re CertificateError N/A ValueError N/A N/A N/A _dnsname_match N/A N/A dn hostname max_wildcards N/A 1 N/A N/A Matching according to RFC 6125, section 6.4.3

    http://tools.ietf.org/html/rfc6125#section-6.4.3
     N/A pats N/A N/A N/A dn N/A N/A False N/A parts N/A N/A dn split . N/A leftmost N/A parts N/A 0 N/A remainder N/A parts N/A 1 N/A wildcards N/A N/A leftmost count * N/A N/A wildcards max_wildcards N/A N/A N/A CertificateError N/A too many wildcards in certificate DNS name:  N/A repr dn N/A N/A wildcards N/A N/A N/A N/A N/A dn lower N/A N/A hostname lower N/A N/A leftmost * N/A N/A N/A N/A pats append [^.]+ N/A N/A N/A N/A N/A leftmost startswith xn-- N/A N/A hostname startswith xn-- N/A N/A N/A N/A pats append N/A N/A re escape leftmost N/A N/A N/A N/A pats append N/A N/A N/A N/A re escape leftmost replace \* [^.]* N/A frag remainder N/A N/A N/A N/A pats append N/A N/A re escape frag N/A pat N/A N/A re compile N/A N/A \A N/A N/A \. join pats \Z N/A re IGNORECASE N/A N/A N/A pat match hostname 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 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.
     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 _dnsname_match value 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 _dnsname_match value 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