jaxbjax-rsxml-signaturecxfrsxades

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


I am trying to build REST service using Apache CXF.
One of the requirement is to sign XML using XAdES-T standard.

I was going over jax-rs-xml-security and made it to sign XML document.

How can I add a timestamp to the signature?
https://www.w3.org/TR/XAdES/

Is it possible to do XAdES-T using CXF?

Demo project can be found: https://gitlab.com/SamaraIT/orders-cxf

Please advice.


Solution

  • There are libraries which can be used to sign XML messages using XAdES standard, such as: