All courts have power to administer oaths connected with any matter pending before them, either by any judge, justice, or clerk thereof or by any other person appointed for that purpose by them. Oaths and affirmations may be administered, in all cases whatsoever, by judges of the Supreme Court, judges of the Court of Appeals, judges of the district court, judges of the county court, the Clerk of the Supreme Court, clerks of the district courts, and clerks of the county courts, within their respective jurisdictions, and by clerk magistrates within their respective counties.