Both the measurements can be done using a current transformer. The ac signal can be measured using a wired-in transformer or a "split core transformer" if you don't want to disconnecet the circuit. You can also get a "DC"current transformer (this is a form of dc-dc...