Demo application showing signing and validating XML documents.
- Document definition (XSD) of a document to be signed with enveloped signature in
xsd/document.xsd
. xjc
generated DTOs. From which aDocument
for signing is prepared viaxjc-generate-classes.sh
- XML signature (XMLDSig) signing and validating in
XMLDSigRoundTripTest
. - XML Advanced Electronic Signatures (XAdES) signing and validating in
XAdESRoundTripTest
.
Consult the Creating XM-Signature and XAdES signatures in Java article for more details.