Notaries public, judges of courts in their respective jurisdictions, mayors of cities and towns in their respective cities and towns, clerks of courts of record, county clerks, and registers of deeds, are hereby authorized to administer oaths pertaining to all matters wherein an oath is required.