Secrecy, Transparency and Legitimacy