Bonds issued under this chapter shall be eligible to secure deposits of all public funds and shall be legal for the investment of bank, fiduciary, insurance company, and trust funds.