The hydrolysis of a peptide bond or bonds within a protein by the proteasome complex contributing to antigen processing and presentation.