I want to create detached XAdES-T signature for binary files. I've found in an other stack overflow post the xades4j tool. But I've found only examples for creating signature for xml documents. How can I sign binary file with xades4j?
Asked
Active
Viewed 920 times
1 Answers
2
You have different options to setup the signed data objects depending on you scenario. Check out the xades4j
wiki on GitHub:
- https://github.com/luisgoncalves/xades4j/wiki/DefiningSignedResources
- https://github.com/luisgoncalves/xades4j/wiki/SignatureTypes#detached-signatures-over-non-xml-resources
Also, Apache XML Security (the foundation for xades4j
) supports file:
URIs, so you might also use this along with specifying the base URI.

lgoncalves
- 2,040
- 1
- 14
- 12