aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--maven2-repository/maven2-repository.zipbin17881866 -> 21933738 bytes
-rw-r--r--pom.xml19
-rw-r--r--src/main/java/demo/SignatureVerificationDemo.java6
3 files changed, 20 insertions, 5 deletions
diff --git a/maven2-repository/maven2-repository.zip b/maven2-repository/maven2-repository.zip
index cc1ca08..bab312a 100644
--- a/maven2-repository/maven2-repository.zip
+++ b/maven2-repository/maven2-repository.zip
Binary files differ
diff --git a/pom.xml b/pom.xml
index f25db33..07f7a22 100644
--- a/pom.xml
+++ b/pom.xml
@@ -172,8 +172,7 @@
<package>true</package>
<private>true</private>
<links>
- <link>http://java.sun.com/j2se/1.4.2/docs/api/</link>
- <link>http://java.sun.com/j2ee/1.4/docs/api/</link>
+ <link>http://download.oracle.com/javase/1.4.2/docs/api/</link>
<link>http://logging.apache.org/log4j/docs/api/</link>
</links>
<source>1.4</source>
@@ -234,11 +233,13 @@
<artifactId>xercesImpl</artifactId>
<version>2.7.1</version>
</dependency>
+
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>1.1</version>
</dependency>
+
<dependency>
<groupId>axis</groupId>
<artifactId>axis</artifactId>
@@ -278,7 +279,10 @@
<dependency>
<groupId>iaik</groupId>
<artifactId>iaik_jce_eval_signed</artifactId>
+ <!--
<version>3.18</version>
+ -->
+ <version>4.0</version>
</dependency>
<dependency>
@@ -300,7 +304,6 @@
<version>1.3.02</version>
</dependency>
- <!-- fuer Integration in andere Web-Seiten -->
<!-- iText -->
<!-- deprecated: modified itext project has been mavenized and equipped with version number
<dependency>
@@ -326,7 +329,7 @@
<dependency>
<groupId>pdfbox</groupId>
<artifactId>pdfbox-0.7.2-pdfas</artifactId>
- <version>1.0</version>
+ <version>1.1</version>
</dependency>
<dependency>
@@ -335,7 +338,6 @@
<version>0.8.0-incubating</version>
</dependency>
- <!-- multiple languages for web application -->
<dependency>
<groupId>ognl</groupId>
<artifactId>ognl</artifactId>
@@ -343,6 +345,13 @@
</dependency>
<dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ <version>2.4</version>
+ <scope>runtime</scope>
+ </dependency>
+
+ <dependency>
<groupId>com.google.zxing</groupId>
<artifactId>core</artifactId>
<version>1.6-SNAPSHOT</version>
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) {