A theoretical framework for trusted communication