Iran has rejected the allegation , saying its nuclear program is for peaceful purposes only .