The following is what is сказал(-а) before a person gives testimony:
Do Ты swear или affirm that the testimony Ты are about to give is the truth, the whole truth, and nothing but the truth so help Ты God или under the pains and penalties of perjury?
It allows for those who do not want to swear (they can affirm), and ensures that the person swearing или affirming is aware of the penalties for lying.