Section 265.20 Exemptions
a. Sections 265.01, 265.02, 265.03, 265.04, 265.05, 265.10, 265.11, 265.12, 265.13, 265.15 and 270.05 shall not apply to:
1. Possession of any of the weapons, instruments, appliances or substances specified in sections 265.01, 265.02, 265.03, 265.04, 265.05 and 270.05 by the following:
(a) Persons in the military service of the state of New York when duly authorized by regulations issued by the adjutant general to possess the same.
(b) Police officers as defined in subdivision thirty-four of section 1.20 of the criminal procedure law.
(c) Peace officers as defined by section 2.10 of the criminal procedure law.
(d) Persons in the military or other service of the United States, in pursuit of official duty or when duly authorized by federal law, regulation or order to possess the same.
(e) Persons employed in fulfilling defense contracts with the government of the United States or agencies thereof when possession of the same is necessary for manufacture, transport, installation and testing under the requirements of such contract.