Which salts piesent in water make it permament hard?

Calcium and magnesium chlorides and sulphates.