Study of cosmic-ray interactions in candidate sources. Applications to the interpretation of the energy spectrum and mass composition data of the Pierre Auger Observatory.