Chinese President Xi Jinping

Chinese President Xi Jinping said Friday that his country is against all types of cyber-crime, including the hacking of foreign companies for profit.

"China strongly opposes and combats the theft of commercial secrets and other kinds of hacking attacks," Xi told a joint press conference with US President Barack Obama.

Beijing has been widely blamed for a spate of hacks on foreign companies and government agencies.