The official undertaking or other security of a public officer to the state, or to any county, city or other public corporation of like character therein, is a security to the state, county, city or public corporation, as the case may be, and also, to all persons severally for the official delinquencies against which it is intended to provide.
ORS 30.210