A mechanism for end-to-end secure communication in heterogeneous tactical networks