I think the law says “whoever”...military or not.
It says two or more persons conspiring for civilians (8 U.S.C. § 2384). For military, the USMJ applies at 10 U.S. Code § 894 - Art. 94. It applies to any person, no conspiracy required.