Fixed point and spectral characterization of finite dimensional C*-algebras