RIO DE JANEIRO — When I visited China in June, my trip happened to coincide with the discovery that Edward Snowden was hiding out in Hong Kong. By then, Snowden’s revelations about the voracious data-collection operation by the National Security Agency was front-page news all over the world. Snowden hadn’t yet been charged for the leak of tens of thousands of pages of classified N.S.A. documents, but it was clear that it was coming. So it was only natural to ask — as many journalists did — would Hong Kong give Snowden asylum if he requested it?

Now I’m in Brazil, where I’ve spent the last few weeks, and wouldn’t you know it? A question very much in the air here is whether Brazil would grant Snowden asylum once his temporary stay in Russia comes to an end. In recent weeks, Snowden had twice expressed publicly his desire to gain asylum to Brazil, once in an open letter published in a newspaper in São Paulo — in which he said he would cooperate with Brazilian authorities investigating the N.S.A. once he was safely inside the country — and then, somewhat more cautiously, in a television interview.

With the possible exception of Germany, there isn’t another nation as publicly irate over the eavesdropping on its citizens and its government as Brazil. Upon learning that the N.S.A. had spied on her personal communications, Brazil’s president, Dilma Rousseff, canceled a state visit. Then, during a speech to the United Nations, she excoriated the United States, even as President Obama stood in the wings. Along with Germany, Brazil has rekindled a long-stalled effort to create a new structure for Internet governance, one that would be less dependent on American companies and American networks. Virgílio Fernandes Almeida, a government official who is chairman of the country’s Internet Steering Committee, told me that there is no question that the Snowden revelations helped jump-start the effort.

Indeed, two weeks ago, a $4 billion contract for a fighter jet, in which Boeing was said to be the front-runner, went to a unit of Saab instead. Although Saab was the lowest-cost bidder, “The N.S.A. problem ruined it for the Americans,” a Brazilian government source told Reuters.