Code of Civil Procedure § 2093.
(a) Every court, every judge, or clerk of any court, every justice, and every notary public, and every officer or person authorized to take testimony in any action or proceeding, or to decide upon evidence, has the power to administer oaths or affirmations.
***