Clas that can be used for DiffieHellman key agreements