开发者

XML encryption address space

开发者 https://www.devze.com 2023-02-04 15:49 出处:网络
When doing encryption on an XML element开发者_开发知识库, is the encryption replacing the address space of the xml element? Or does it use a different address space?

When doing encryption on an XML element开发者_开发知识库, is the encryption replacing the address space of the xml element? Or does it use a different address space?

I ask this because I am having trouble with referencing an element after decryption, and I am thinking this answer may help. My other question though more specific is here: https://stackoverflow.com/questions/4674457/referencing-an-xml-element-after-decryption-bug.

Thanks!


You can be pretty sure that if you have a DOM of the XML, that the references to the elements in the DOM will be invalid after encryption. I haven't seen a library yet that does not alter the "original" tree (even if it doesn't say so explicitly like Apache XML-sec. Of course, they won't magically reappear after decryption.

Could you take a look at the answer your linked question as well?

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号