We obtain, for a subclass of structure functions characterizing a first-cla
ss Hamiltonian system, recursive relations from which the general form of t
he local symmetry transformations can be constructed in terms of the indepe
ndent gauge parameters. We apply this to a non-trivial Hamiltonian system i
nvolving two primary constraints, as well as two secondary constraints of t
he Nambu-Goto type. We also illustrate for a pure Chern-Simons theory how t
his formalism can be extended to a system with first- and second-class cons
traints.