The director of administrative services may administer oaths to persons required by law to file affidavits or statements in the department of administrative services and to witnesses who are examined in matters pertaining to the administration of the public works.