Donald Trump's former national security adviser is accused of using personal messaging apps and email to share sensitive information.