Subject to decades of restrictions on the purchase of advanced weapons systems abroad, Iran has worked to build up its domestic arms and electronics industries, enabling the country to produce an array of advanced equipment to deter the United States and the Islamic Republic’s main regional rival - Israel.