Acid catalysis in the formation of chloroamides from hypochlorous acid; N-chlorination by hypochlorite ions and by acyl hypochlorites.