Which is the proper XML exclusive canonicalization?

后端 未结 2 906
心在旅途
心在旅途 2021-01-23 14:50

I\'m using xmlseclibs to try and sign a SOAP document, but it does not seem to canonicalize things in the same way depending on whether I\'m signing or validating.

I\'ll

2条回答
  •  孤街浪徒
    2021-01-23 15:01

    You are creating the DOM document improperly and trying to use the invalid in-memory tree. Either serialize and use the serialized result or properly create the namespace declarations in the tree before trying to sign. See the bug report for more information: http://code.google.com/p/xmlseclibs/issues/detail?id=6

提交回复
热议问题