Any person may sign a petty offense complaint for an offense which occurred in his presence. A petty offense complaint shall be signed under oath. It is sufficient if a law enforcement officer, in lieu of signing the petty offense complaint under oath, signs the following statement printed or written on a complaint or summons for a petty offense on a uniform traffic ticket: "I declare and affirm under the penalties of perjury that this complaint or summons has been examined by me, and to the best of my knowledge and belief, is in all things true and correct." Any person who signs this statement as provided for in this section, knowing the statement to be false or untrue, in whole or in part, is guilty of perjury.
SDCL 23-1A-5