Orange County Sheriff Sandra Hutchens gave long-awaited testimony on Wednesday about whether the county jail system has an established, and potentially illegal, jailhouse informant program.

The testimony came in relation to the trial of Scott Dekraai, who has pleaded guilty to the 2011 mass shooting in a Seal Beach salon that killed eight people and wounded one.

Dekraai's public defender, Scott Sanders, is trying to get the death penalty taken off the table, based on the argument that the county used an illegal jail snitch program.

At question is whether the Sheriff's Department intentionally and illegally used jailhouse informants to elicit damaging information from inmates who have been charged and have the constitutional right to an attorney.

Another question is whether the agency failed to turn over evidence related to informants that might help the defendant's case.

At the heart of Wednesday's questioning was an exclusive interview Hutchens gave to Eyewitness News in August 2015, in which she denied there was an informant program.

"We don't have our folks working informants," Hutchens said in that interview with Marc Brown. "That's not to say the jail deputies don't have an inmate coming up to them claiming they have some sort of information. But they will typically pass that on to the jurisdiction where that belongs."