Hi Team,

I have a flow that does encryption using xmlsec library 2.0.1 and it then
sends the encrypted message to third party system. This third party is
unable to validate the message if there are two or more encrypted xml
elements in them and the exception they see is:



This ID element is present in xenc:EncryptedKey element, and I can see that
the message has the same Id twice, here is the encrypted message:



I did some investigation and the issue sounds very similar to
https://issues.apache.org/jira/browse/WSS-242

I have few queries:

1. The third party is using xerces to validate the encrypted xml, Can you
please let me know where I can find XSD's that I can provide third party to
use so they can correctly validate the encrypted XML?
2. if this is not because of XSD can you please guide on how we can perform
the validation?

Appreciate your response, thanks a lot.

Regards,
Mujahed



--
View this message in context: 
http://apache-xml-project.6118.n7.nabble.com/EncryptedKey-Id-Validation-fails-tp41424.html
Sent from the Apache XML - Security - Dev mailing list archive at Nabble.com.

Reply via email to