Aspects relating to chemical surface treatment of metallic material by reaction of the surface with a reactive medium