Indirect measurement of nuclear reaction cross sections at astrophysical energies