The attorney general said he refused to sign the conditions and called Hamas ' action a violation of the law .