Some words of advice to the OP.
Aside from knowing about the OP's criminal / indicted past, as an employer if I had the luxury of perfect information, I would be more concerned about this OP's sense of judgement and personality, work-wise. Of course, that's tough to tell in an interview (if you get that far), but for the purpose of this forum, we're kind of debating also what managers should do about this person hypothetically, to learn from this situation.
Is this the kind of person who feels so strongly that he/she must be right, that he/she is willing to seriously break laws in service of some ideal? Does that mean someone is good to work with, or a liability? How far is the person willing to go in support of their own opinion even if incorrect? Has the person matured or moved on from this or what lessons has he/she taken away from it?
I don't know that answers to these questions, or what is right on this spectrum. I'm posing them to OP.
OP, what would you want a hiring manager to know about these questions? Have you addressed these questions to you, yourself, in life? Have you moved on from this phase? Or are you still radical in what you're willing to do? Does your attitude come into the workplace? Is a normal FAANG kind of job right for you? What are you like to work with?
Given the kind of issues you hear about at Google (for example) with people on both sides of the ideological spectrum, etc. the OP's own written story here puts him/her on a far extreme. So, I would say someone like this is just a heightened alert for a hiring manager, unless they demonstrate a real self-awareness of what that incident meant and how they've dealt with it since. Let's take for example, is the OP willing to put code into an app that they believe is right for some ideological reason -- but wasn't asked for or approved by the manager?
Again, this is in the imaginary scenario of you knowing about the person's past. Of course, the rest of the comments here are about how to hide that past from the hiring manager.
I would say (not knowing anything about the person in this case) that in general it's not the criminal part that worries me (for a crime like this, not talking about more serious crimes). What kind of person he/she is to work with, and his/her judgement, is what concerns me.
OP, these are the kinds of thoughts that -- if you choose to reveal your past (or if it gets revealed) -- a manager I think would want to know. So you probably should think through some of the answers.