BEIJING (AP) - China's rubber-stamp national legislature on Sunday approved the country's first anti-terrorism law, amid concerns that its requirements that tech companies share information with the government could hurt business interests and further infringe upon human rights.

BEIJING (AP) China's rubber-stamp national legislature on Sunday approved the country's first anti-terrorism law, amid concerns that its requirements that tech companies share information with the government could hurt business interests and further infringe upon human rights.

The National People's Congress said its standing committee adopted the law with a unanimous vote. The law goes into effect Jan. 1

Rights advocates and foreign governments, including Washington, have expressed concerns about the law's likely impact on tech businesses and freedom of speech.

They say it is troublesome that telecommunications companies and Internet service providers are required to share encryption keys and back-door access with the police and state security agents seeking to prevent terrorist activities or investigating terror acts.

Chinese officials said Sunday that the requirements for the tech firms are necessary because terrorists are increasingly turning to cyberspace.

They said lawmakers balanced the needs to fight terrorism and to protect business interests and public rights.

Beijing asserts that China is a victim of terrorism following violent ethnic clashes involving members of the Muslim minority Uighurs in the far northwest region of Xinjiang, although foreign experts have argued there is no proof of foreign ties and that the violence in Xinjiang might be homegrown.

China has criticized the West for adopting double standards. Beijing recently refused to renew the press credentials of a French journalist for questioning Beijing's equating of ethnic conflicts with global terrorism.

Also on Sunday, the legislature officially sanctioned an earlier decision by the ruling Communist Party to end China's one-child policy, allowing all Chinese couples to have two children.