简体   繁体   English

CXF JAX-RS 如何签署 XML 消息(使用 XAdES-T)

[英]CXF JAX-RS how to sign XML message (using XAdES-T)

I am trying to build REST service using Apache CXF.我正在尝试使用 Apache CXF 构建REST 服务
One of the requirement is to sign XML using XAdES-T standard.其中一项要求是使用XAdES-T标准对XML进行签名

I was going over jax-rs-xml-security and made it to sign XML document.我正在检查jax-rs-xml-security并使用它来签署 XML 文档。

How can I add a timestamp to the signature?如何在签名中添加时间戳?
https://www.w3.org/TR/XAdES/ https://www.w3.org/TR/XAdES/

Is it possible to do XAdES-T using CXF?是否可以使用 CXF 进行 XAdES-T?

Demo project can be found: https://gitlab.com/SamaraIT/orders-cxf演示项目可以找到: https : //gitlab.com/SamaraIT/orders-cxf

Please advice.请指教。

There are libraries which can be used to sign XML messages using XAdES standard, such as:有一些库可用于使用XAdES标准对 XML 消息进行签名,例如:

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM