Any commissioned officer who uses contemptuous words against the President of the United States, Vice President of the United States, Congress, Secretary of Defense, secretary of a military department, Secretary of Homeland Security, Governor of the Commonwealth of Pennsylvania, Adjutant General of the Commonwealth of Pennsylvania or General Assembly of the Commonwealth of Pennsylvania shall be punished as a court- martial may direct.
51 Pa.C.S. § 6012