The defense secretary has indicated that he will fight accusations that he violated the Constitution and federal law.