'Mock version of SSHClientTransport.verifyHostKey.'

def verifyHostKey(self, pubKey, fingerprint):

    self.calledVerifyHostKey = True
    self.assertEqual(pubKey, self.blob)
    self.assertEqual(fingerprint.replace(':', ''), binascii.hexlify(md5(pubKey).digest()))
    return defer.succeed(True)
