A court or officer required to take or accept any bail or recognizance or to approve the sureties offered on any bond or recognizance in any case of a criminal nature, may require any person offered as surety thereon to make affidavit of the person's qualifications or to be examined orally under oath touching the same, and such court or officer may take such affidavit or administer such oath.
IC 35-33-8.5-3