Traditionally, that has required an affidavit. the person must put his testimony into written form and then sign the document in front of an official, such as a notary public or clerk, swearing to the official that the contents of the document are true.