National and international legal and regulatory framework for carbon management