diff options
author | tknall <tknall@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c> | 2010-12-10 15:10:17 +0000 |
---|---|---|
committer | tknall <tknall@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c> | 2010-12-10 15:10:17 +0000 |
commit | 1733fa41e9851b7781571cabda1d6304a4e8bd19 (patch) | |
tree | 825e91b7bfe85ddded2d4309a00eb425be950fcc | |
parent | 9d6b686b486e9c44f01a461789bacd590a2438ee (diff) | |
download | pdf-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
-rw-r--r-- | maven2-repository/maven2-repository.zip | bin | 17881866 -> 21933738 bytes | |||
-rw-r--r-- | pom.xml | 19 | ||||
-rw-r--r-- | src/main/java/demo/SignatureVerificationDemo.java | 6 |
3 files changed, 20 insertions, 5 deletions
diff --git a/maven2-repository/maven2-repository.zip b/maven2-repository/maven2-repository.zip Binary files differindex cc1ca08..bab312a 100644 --- a/maven2-repository/maven2-repository.zip +++ b/maven2-repository/maven2-repository.zip @@ -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) {
|