This chapter shall apply to the official bonds of all public officers of this state, including those whose offices may be established hereafter, unless the contrary is expressly provided.