Hello list I am trying to get decryption and signature validation to work with my servlet. I am using MTOM with the streaming API.
I have run into a problem. CryptoCoverageUtil.checkHeaderCoverage is comparing different header elements object instances. They both contain the same XML. DOMUtils.getChildrenWithName returns a HeaderElement1_2Impl object and the protectedElement of WSDataRef is a ElementNSImpl object. In this case the validation will always fail. Any ideas on what I am doing wrong? I have attached my policy document, my spring context and a request.
eDeliveryAS4Policy.xml
Description: XML document
applicationContext.xml
Description: XML document
request.xml
Description: XML document
