National Security Agency Director Adm. Michael Rogers testifies on Capitol Hill in Washington, Nov. 20, 2014. Reuters/Joshua Roberts

WASHINGTON (Reuters) -- It would present an "opportunity" for spy agencies if the foreign minister of Russia or Iran were to use a private email server for official business, the chief of the U.S. National Security Agency said on Thursday.

The comments by Adm. Mike Rogers were in response to questions during a U.S. Senate hearing about former Secretary of State Hillary Clinton's use of a private server for email.

"From a foreign intelligence perspective, that represents opportunity," Rogers told senators.

The server has become an issue in Clinton's campaign for the 2016 Democratic presidential nomination. She has apologized for her use of the equipment.

During a hearing on the NSA, Republican Senator Tom Cotton asked Rogers a series of questions related to Clinton's use of a private email server at her home for communications as secretary of state.

Rogers said he did not want to be dragged into the issue, but Cotton said he wanted the NSA director's "professional opinion."

Cotton asked whether Rogers considered the communications of top advisers to the president, even those that are unclassified, a top priority for foreign spy agencies.

"Yes," Rogers responded.

(Reporting by Patricia Zengerle; Editing by Andrew Hay)