Zeta functions of finite fields and the Selberg class