You have "direct" and "indirect" the wrong way round: the literal version with quotes is the direct one. It isn't possible in this case to determine with certainty the exact words spoken. He may have said "I swear in the name of *** that I am ignorant of the matter", or "I swear by *** that I am ignorant of the matter", or some other variation.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.