It seems that neither CMS nor XML Dsig explicitlyIt was not included directly inside RFC2630, but inside a RFC that followed it shortly : RFC2634.
support signing the hash of the signer's certificate.
Read RFC2634 chapter 5 and you will see the true reasons why this should be done :I understand that the reason for this addition was to thwart changing the client certificate.
However, there must be a considerable difficulty
finding a client certificate with an identical public key