25-117. Same; affidavit of newly organized party; filing. No newly organized political party shall be recognized or qualified to participate or permitted to have the names of its candidates printed on the ballot in any election in this state until it has filed an affidavit, by the officers of the party in the state, under oath that: (a) It is not directly or indirectly affiliated by any means whatsoever with the Communist party of the United States, the Communist international, or any other foreign agency, political party, organization or government; or (b) that it does not either directly or indirectly advocate, teach, justify, aid or abet the overthrow by force or violence, or by any unlawful means, of the government of the United States or this state; or (c) it does not directly or indirectly carry on, advocate, teach, justify, aid or abet a program of sabotage, force and violence, sedition or treason against the government of the United States or this state. The affidavit herein provided for shall be filed with the secretary of state and he shall make such investigation as he may deem necessary to determine the character and nature of the political doctrines of such proposed new party, and if he finds that such proposed new party advocates doctrines or has affiliations which are in violation of the provisions of this act, he shall not permit such party to participate in the election.