def _digest_auth_stage2(self, _unused):
iq=Iq(stanza_type="<STR_LIT>")<EOL>q=iq.new_query("<STR_LIT>")<EOL>q.newTextChild(None,"<STR_LIT:username>",to_utf8(self.my_jid.node))<EOL>q.newTextChild(None,"<STR_LIT>",to_utf8(self.my_jid.resource))<EOL>digest = hashlib.sha1(to_utf8(self.stream_id)+to_utf8(self.password)).hexdigest()<EOL>q.newTextChild(None,"<STR_LIT>",digest)<EOL>self.send(iq)<EOL>self.set_response_handlers(iq,self.auth_finish,self.auth_error)<EOL>iq.free()<EOL>
Do the second stage (<iq type='set'/>) of legacy "digest"
        authentication.

        [client only]