Don't bite the hand that feeds you.Israel occupies Gaza by controlling its airspace, coastal waters, land borders, population registry, and electromagnetic sphere. Nothing gets in or out of Gaza without Israel's permission since the tunnels with Egypt were sealed by the military dictatorship. Hamas has said it is up to Palestinians to decide their relationship with Israel. For that to happen Israel will have to lift its belligerent occupation of Gaza. Jews will never agree unless the world imposes economic sanctions on the Jewish state like those on Iran, and that isn't likely as long as US voters continue "choosing" between Republican OR Democrat in their voting booths.Hamas is the government in Gaza, thus it's charter matters.Hamas is not the government of a sovereign state and it's charter is not a constitution.
Hamas leaders consistently state Palestinians deserve the right of self-determination to decide their relationship with Israel. Neither Hamas nor a majority of Palestinians have any problem with dealing as an equal with a Jewish neighbor, but they will not accept dealing with Jews as occupiers.
You really stretch credibility when you try to claim a Palestinian state with no army, navy or air force represents any security threat to a nuclear-armed Israel.