The treasurer may administer all oaths required by law in matters pertaining to the duties of his or her office.