Snowden is charged with "willful communication of classified communications intelligence information to an unauthorized person," which -- I think sensibly -- is illegal even if the unauthorized person is a reporter and even if you had good intentions.
I'm not a lawyer, but if he wants to argue that he's innocent or that the law is unconstitutional, it seems like the courtroom is the right place to make that argument.