aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/demo
diff options
context:
space:
mode:
authortknall <tknall@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2010-12-10 15:10:17 +0000
committertknall <tknall@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2010-12-10 15:10:17 +0000
commit1733fa41e9851b7781571cabda1d6304a4e8bd19 (patch)
tree825e91b7bfe85ddded2d4309a00eb425be950fcc /src/main/java/demo
parent9d6b686b486e9c44f01a461789bacd590a2438ee (diff)
downloadpdf-as-3-1733fa41e9851b7781571cabda1d6304a4e8bd19.tar.gz
pdf-as-3-1733fa41e9851b7781571cabda1d6304a4e8bd19.tar.bz2
pdf-as-3-1733fa41e9851b7781571cabda1d6304a4e8bd19.zip
POM and m2-repo updated.
SignatureVerificationDemo updated. git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@703 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
Diffstat (limited to 'src/main/java/demo')
-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) {