'Populate all the local variables with values.'

def genState(self):

    log.info("Generating    parameters    for    the    server's    state    file.")
    self.prngSeed = mycrypto.strongRandom(const.PRNG_SEED_LENGTH)
    self.hmacKey = mycrypto.strongRandom(const.TICKET_HMAC_KEY_LENGTH)
    self.aesKey = mycrypto.strongRandom(const.TICKET_AES_KEY_LENGTH)
    self.keyCreation = int(time.time())
    self.oldHmacKey = None
    self.oldAesKey = None
    self.replayTracker = replay.Tracker()
    prng = random.Random(self.prngSeed)
    self.pktDist = probdist.new((lambda : prng.randint(const.HDR_LENGTH, const.MTU)), seed=self.prngSeed)
    self.iatDist = probdist.new((lambda : (prng.random() % const.MAX_PACKET_DELAY)), seed=self.prngSeed)
    self.fallbackPassword = os.urandom(const.SHARED_SECRET_LENGTH)
    self.closingThreshold = prng.randint(const.MAX_HANDSHAKE_LENGTH, (const.MAX_HANDSHAKE_LENGTH * 5))
    self.writeState()
