public void HandleClientKeyExchange(ClientKeyExchangeMessage message) { var rsaMessage = message as ClientKeyExchangeMessage.RSA; SecurityAssert.NotNull(rsaMessage); state.ComputeMasterSecret(rsaMessage.PreMasterSecret); }
public void HandleClientKeyExchange(ClientKeyExchangeMessage message) { var dhMessage = message as ClientKeyExchangeMessage.DH; SecurityAssert.NotNull(dhMessage); var p = state.Params[ParamP]; var x = state.Params[ParamX]; var sharedSecret = ComputeSharedSecret(p, x, dhMessage.Yc); var preMasterSecret = sharedSecret.ToTlsBytes(); state.ComputeMasterSecret(preMasterSecret); }
public void HandleClientKeyExchange(ClientKeyExchangeMessage message) { throw new NotImplementedException(); }