...
When there are issues with signature-verification of a received AS4 Message, it is possible to enable extensive logging which can be helpful in pinpointing the problem.
Signature verification logging can be enabled by enabling the XmlDsigLogSwitch trace-switch that can be found in the App.config configuration file: