August Hanning is accused of buying secret information from a former employee of the agency and intending to sell it on.