Iran 's Supreme Leader Ayatollah Ali Khamenei has repeated that his country has no interest in building nuclear bombs , but that possessing nuclear technology is its legal right .