We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 9 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(2)
您查看过 Apache Santuario 库吗?
它附带了一个实现 XML Signature XPath Filter v2.0 的类:
TransformXPath2Filter
此处列出了更多实现(尽管我还没有检查其中任何一个):
Did you have a look at the Apache Santuario library?
It comes with a class that implements XML Signature XPath Filter v2.0:
TransformXPath2Filter
Further implementations are listed here (though I haven't checked any of these):
感谢 0xA3。互操作性报告列出了以下两个支持 XPath Filter 2 的开源库:
在我们自己的分析中,我们发现JDK 内部实现 XML 数字签名也支持该功能,尽管以隐式方式实现不是公共 API 并且对用户隐藏。作为 Sun/Oracle JDK 中的整个 XML-DSIG 实现,它在内部使用 Apache Santuario 实现的一个版本。
我们最终选择了 Jaxen,因为它比 Santuario 更容易集成。
Thanks to 0xA3. The interoperability report lists the following two open source libraries that support XPath Filter 2:
In our own analysis, we found out that the JDK-internal implementation of XML Digital Signatures also supports the feature, although in an implicit way, the implementation is not public API and hidden from the user. As the entire XML-DSIG implementation in the Sun/Oracle JDK, it uses a version of the Apache Santuario implementation internally.
We finally settled for Jaxen because it was easier to integrate than Santuario.