Iran has said that it will not hesitate to use its rights under international law to defend its vital national and security interests.