Iran's Supreme Leader Ayatollah Ali Khamenei gestures as he speaks during a meeting with students in Tehran, Iran, October 18, 2017. Reuters

Ayatollah Ali Khamenei responded to President Donald Trump's threats of decertifying the nuclear deal Wednesday.

During a major White House speech Friday, President Trump made it very clear his stance on the deal and the fact that U.S. involvement can be "canceled, by (him) as president, at any time."

"We cannot and will not make this certification," President Trump said in his speech. "We will not continue down a path whose predictable conclusion is more violence, more terror and the very threat of Iran's nuclear breakout."

Ayatollah Khamenei responded to Trump's claims in a Twitter account Wednesday, saying that responding to Trump is futile.

"I don't want to waste time on answering the rants and whoppers of the brute U.S. president," Ayatollah Khamenei tweeted. "It's a waste of time for anyone to answer him."

Ayatollah Khamenei later added that the deal is two-sided, and if one side decides to pull out then Iran will "shred it."

"We won't tear the JCPOA up, as long as the other side doesn't, but if they do, we will shred it," Ayatollah Khamenei tweeted.

European Union foreign policy chief, Federica Mogherini, released in a statement Friday that the E.U. will continue to endorse the JCPOA.

"It is not a bilateral agreement, it does not belong to any single country and it is not up to any single country to terminate it," Mogherini said. "We cannot afford as an international community – as Europe for sure – to dismantle a nuclear agreement that is working and delivering, especially now."