aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/demo/SignatureVerificationDemo.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/java/demo/SignatureVerificationDemo.java b/src/main/java/demo/SignatureVerificationDemo.java
index 6abb37e..4b17f11 100644
--- a/src/main/java/demo/SignatureVerificationDemo.java
+++ b/src/main/java/demo/SignatureVerificationDemo.java
@@ -182,6 +182,12 @@ public class SignatureVerificationDemo {
}
Main.formatVerifyResult(result, out);
+ XMLDsigData xmlDSigData = result.getReconstructedXMLDsig();
+ if (xmlDSigData != null) {
+ out.println("\n --- XMLDSIG start ---");
+ out.println(" " + xmlDSigData.getXmlDsig());
+ out.println(" --- XMLDSIG end ---");
+ }
// check if there are timestamps
if (result.getTimeStampValue() != null) {