开源 XPath Filter 2.0 实现

发布于 2024-11-19 11:32:43 字数 1539 浏览 9 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

緦唸λ蓇 2024-11-26 11:32:43

您查看过 Apache Santuario 库吗?

它附带了一个实现 XML Signature XPath Filter v2.0 的类:

TransformXPath2Filter

此处列出了更多实现(尽管我还没有检查其中任何一个):

XML 签名 XPath Filter2 互操作报告

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):

XML Signature XPath Filter2 Interop Report

擦肩而过的背影 2024-11-26 11:32:43

感谢 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文