Officers authorized to take recognizance and approve bail.
Any officer authorized to execute a warrant in a criminal action, may take the recognizance and justify and approve the bail; he or she may administer an oath and examine the bail as to its sufficiency.