Hi, I'm unwrapping an EncryptedKey tag from an encrypted XML document. This EncryptedKey contains a DataReference to the xenc:EncryptedData it should be used for. When calling the XMLCipher.loadEncryptedKey, the URI that is present on the xenc:DataReference is not present in the EncryptedKey object that is returned however.
I did some debugging on the code and found that the XMLCipher.newReferenceList function tries to get the URI as nodeValue from the xenc:DataReference tag. Is this correct? Shouldn't it try to obtain it from the URI attribute on the xenc:DataReference tag instead? Regards, Johan