317 or any adjustable regulator like it. However, be cognizant of the power dissipation taking place in the regulator, and that the minimum voltage that can be across the regulator is the dropout voltage of the regulator (~2V) plus the drop across the current sampling resistor (1.2V). So to get a CC supply that works from 0-10V, you would have to start with a minimum input voltage of 13.2V. If this is a problem, there are ways to do it so that the minimum voltage drop across the current regulator is less than a few mV. Also, if you need, say 1A, depending on the drop across the regulator it could be dissipating 10 or more W, which requires a large heatsink.