Module Expr Str Import alias alias alias alias ImportFrom alias ImportFrom alias alias alias ClassDef bases NameLoad body Assign NameStore Call NameLoad Str FunctionDef arguments args defaults body Expr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str decorator_list decorator_list ClassDef bases NameLoad body Expr Str Expr Call NameLoad NameLoad Assign NameStore Str FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Expr Call NameLoad NameLoad Assign NameStore Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr BoolOpOr NameLoad Str Assign AttributeStore NameLoad attr BoolOpOr NameLoad Str Assign AttributeStore NameLoad attr BoolOpOr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Call AttributeLoad AttributeLoad NameLoad attr attr Str Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list decorator_list ClassDef bases NameLoad body Expr Str Expr Call NameLoad NameLoad Assign NameStore Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad If CompareIsNot NameLoad NameLoad body AugAssignAdd AttributeStore NameLoad attr BinOpMod Str TupleLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIn Str NameLoad body Return Str TryExcept body Assign NameStore SubscriptLoad NameLoad Index Str handlers ExceptHandler type NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str Return Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore NameLoad Assign NameStore Dict Assign NameStore Num Assign NameStore NameLoad While NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Slice NameLoad NameLoad attr AugAssignAdd NameStore Num If CompareEq SubscriptLoad NameLoad Index NameLoad Str body AugAssignAdd NameStore Num Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore SubscriptLoad NameLoad Slice NameLoad NameLoad Assign NameStore BinOpAdd Call AttributeLoad NameLoad attr Str NameLoad Num If CompareEq NameLoad Num body Assign NameStore NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If CompareEq NameLoad Num body Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Slice NameLoad attr Assign NameStore NameLoad orelse Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Slice NameLoad NameLoad attr Assign NameStore BinOpAdd NameLoad Num Assign SubscriptStore NameLoad Index NameLoad NameLoad For NameStore TupleLoad Str Str body If CompareIn NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore ListLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If CompareIn NameLoad TupleLoad Str Str Str Str Str Str Str body Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad orelse Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults body Return Call AttributeLoad Call NameLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad decorator_list Assign NameStore BinOpMod Str TupleLoad Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore BinOpMod Str TupleLoad NameLoad Assign NameStore Call NameLoad Call NameLoad Call NameLoad Call NameLoad NameLoad BinOpMod Str TupleLoad NameLoad NameLoad NameLoad Str Call NameLoad Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad handlers ExceptHandler type NameLoad body Raise Assign NameStore BinOpMod Str TupleLoad Num Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore Dict Str Str Str Str Str Str Str Str Str NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad Call NameLoad BinOpMod Str TupleLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr attr decorator_list decorator_list
N/A N/A 
Protocol agnostic implementations of SASL authentication mechanisms.
 N/A binascii random time os hashlib md5 zope.interface Interface Attribute implements ISASLMechanism N/A Interface N/A N/A name N/A Attribute Common name for the SASL Mechanism. getInitialResponse N/A N/A N/A N/A N/A 
        Get the initial client response, if defined for this mechanism.

        @return: initial client response string.
        @rtype: C{str}.
         N/A getResponse N/A N/A challenge N/A N/A N/A 
        Get the response to a server challenge.

        @param challenge: server challenge.
        @type challenge: C{str}.
        @return: client response.
        @rtype: C{str}.
         N/A N/A Anonymous N/A object N/A N/A 
    Implements the ANONYMOUS SASL authentication mechanism.

    This mechanism is defined in RFC 2245.
     N/A N/A implements ISASLMechanism N/A name ANONYMOUS getInitialResponse N/A N/A self N/A N/A N/A None N/A N/A Plain N/A object N/A N/A 
    Implements the PLAIN SASL authentication mechanism.

    The PLAIN SASL authentication mechanism is defined in RFC 2595.
     N/A N/A implements ISASLMechanism N/A name PLAIN __init__ N/A N/A self authzid authcid password N/A N/A N/A N/A self authzid N/A authzid N/A N/A self authcid N/A authcid N/A N/A self password N/A password N/A getInitialResponse N/A N/A self N/A N/A N/A N/A %s%s%s N/A N/A N/A N/A self authzid encode utf-8 N/A N/A N/A self authcid encode utf-8 N/A N/A N/A self password encode utf-8 N/A N/A DigestMD5 N/A object N/A N/A 
    Implements the DIGEST-MD5 SASL authentication mechanism.

    The DIGEST-MD5 SASL authentication mechanism is defined in RFC 2831.
     N/A N/A implements ISASLMechanism N/A name DIGEST-MD5 __init__ N/A N/A self serv_type host serv_name username password N/A N/A N/A 
        @param serv_type: An indication of what kind of server authentication
            is being attempted against.  For example, C{u"xmpp"}.
        @type serv_type: C{unicode}

        @param host: The authentication hostname.  Also known as the realm.
            This is used as a scope to help select the right credentials.
        @type host: C{unicode}

        @param serv_name: An additional identifier for the server.
        @type serv_name: C{unicode}

        @param username: The authentication username to use to respond to a
            challenge.
        @type username: C{unicode}

        @param username: The authentication password to use to respond to a
            challenge.
        @type password: C{unicode}
         N/A N/A self username username N/A N/A self password password N/A N/A self defaultRealm host N/A N/A self digest_uri N/A %s/%s N/A serv_type host N/A N/A serv_name None N/A N/A N/A self digest_uri N/A /%s N/A serv_name N/A getInitialResponse N/A N/A self N/A N/A N/A None N/A getResponse N/A N/A self challenge N/A N/A N/A directives N/A N/A self _parse challenge N/A N/A rspauth directives N/A N/A N/A N/A N/A realm N/A directives N/A realm N/A N/A N/A KeyError N/A N/A realm N/A N/A N/A self defaultRealm encode N/A directives N/A charset N/A N/A N/A self _genResponse N/A directives N/A charset realm N/A directives N/A nonce N/A _parse N/A N/A self challenge N/A N/A N/A 
        Parses the server challenge.

        Splits the challenge into a dictionary of directives with values.

        @return: challenge directives and their values.
        @rtype: C{dict} of C{str} to C{str}.
         N/A s challenge N/A paramDict N/A N/A cur 0 N/A remainingParams True N/A remainingParams N/A N/A middle N/A N/A s index = cur N/A name N/A N/A N/A s N/A cur middle lstrip N/A middle 1 N/A N/A N/A s N/A middle " N/A N/A middle 1 N/A end N/A N/A s index " middle N/A value N/A s N/A middle end N/A cur N/A N/A N/A s find , end 1 N/A N/A cur 0 N/A N/A remainingParams False N/A N/A end N/A N/A s find , middle N/A N/A end -1 N/A N/A value N/A N/A N/A s N/A middle rstrip N/A remainingParams False N/A N/A value N/A N/A N/A s N/A middle end rstrip N/A cur N/A end 1 N/A N/A paramDict N/A name value N/A param N/A qop cipher N/A N/A N/A param paramDict N/A N/A N/A paramDict N/A param N/A N/A N/A paramDict N/A param split , N/A paramDict N/A _unparse N/A N/A self directives N/A N/A N/A 
        Create message string from directives.

        @param directives: dictionary of directives (names to their values).
                           For certain directives, extra quotes are added, as
                           needed.
        @type directives: C{dict} of C{str} to C{str}
        @return: message string.
        @rtype: C{str}.
         N/A directive_list N/A N/A N/A name value N/A N/A directives iteritems N/A N/A N/A name N/A username realm cnonce nonce digest-uri authzid cipher N/A N/A directive N/A %s="%s" N/A name value N/A N/A directive N/A %s=%s N/A name value N/A N/A N/A directive_list append directive N/A N/A N/A , join directive_list N/A _calculateResponse N/A N/A self cnonce nc nonce username password realm uri N/A N/A N/A 
        Calculates response with given encoded parameters.

        @return: The I{response} field of a response to a Digest-MD5 challenge
            of the given parameters.
        @rtype: L{bytes}
         H N/A N/A s N/A N/A N/A N/A N/A N/A md5 s digest N/A HEX N/A N/A n N/A N/A N/A N/A N/A binascii b2a_hex n N/A KD N/A N/A k s N/A N/A N/A N/A H N/A %s:%s N/A k s N/A N/A a1 N/A %s:%s:%s N/A N/A H N/A %s:%s:%s N/A username realm password nonce cnonce N/A a2 N/A AUTHENTICATE:%s N/A uri N/A response N/A HEX N/A KD N/A HEX N/A H a1 N/A %s:%s:%s:%s:%s N/A nonce nc cnonce auth N/A HEX N/A H a2 N/A response N/A _genResponse N/A N/A self charset realm nonce N/A N/A N/A 
        Generate response-value.

        Creates a response to a challenge according to section 2.1.2.1 of
        RFC 2831 using the C{charset}, C{realm} and C{nonce} directives
        from the challenge.
         N/A N/A N/A username N/A N/A N/A self username encode charset N/A password N/A N/A N/A self password encode charset N/A digest_uri N/A N/A N/A self digest_uri encode charset N/A N/A N/A UnicodeError N/A N/A N/A nc N/A %08x N/A 1 N/A cnonce N/A N/A self _gen_nonce N/A qop auth N/A response N/A N/A self _calculateResponse cnonce nc nonce username password realm digest_uri N/A directives N/A username realm nonce cnonce nc qop digest-uri response charset username realm nonce cnonce nc qop digest_uri response charset N/A N/A N/A self _unparse directives N/A _gen_nonce N/A N/A self N/A N/A N/A N/A N/A N/A md5 N/A %s:%s:%s N/A N/A N/A random random N/A N/A time gmtime N/A N/A os getpid hexdigest N/A N/A