aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/demo
diff options
context:
space:
mode:
authorpdanner <pdanner@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2010-12-10 13:08:35 +0000
committerpdanner <pdanner@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2010-12-10 13:08:35 +0000
commit1faaccc18a3ccbc7b827da8956fb9783e9713228 (patch)
tree1fe12d1340e681b84d18e1e934e149997de3c904 /src/main/java/demo
parent800f1a58123b1f48cc6c6c7c910ae1d137a1790d (diff)
downloadpdf-as-3-1faaccc18a3ccbc7b827da8956fb9783e9713228.tar.gz
pdf-as-3-1faaccc18a3ccbc7b827da8956fb9783e9713228.tar.bz2
pdf-as-3-1faaccc18a3ccbc7b827da8956fb9783e9713228.zip
Removed unnecessary parameters from ReconstructXMLDsigAfterAnalysisParameters; Added getReconstructedXMLDsig() method to VerifyResult
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@700 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
Diffstat (limited to 'src/main/java/demo')
-rw-r--r--src/main/java/demo/SignatureVerificationDemo.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/demo/SignatureVerificationDemo.java b/src/main/java/demo/SignatureVerificationDemo.java
index b1c11c7..6abb37e 100644
--- a/src/main/java/demo/SignatureVerificationDemo.java
+++ b/src/main/java/demo/SignatureVerificationDemo.java
@@ -3,7 +3,6 @@ package demo;
import java.io.File;
import java.io.IOException;
import java.io.PrintWriter;
-import java.util.Date;
import java.util.Iterator;
import java.util.List;
@@ -114,6 +113,7 @@ public class SignatureVerificationDemo {
// retrieve reconstructed signature
ReconstructXMLDsigAfterAnalysisParameters recstrParams = new ReconstructXMLDsigAfterAnalysisParameters();
+ recstrParams.setSignatureDevice(Constants.SIGNATURE_DEVICE_BKU);
recstrParams.setAnalyzeResult(analyzeResult);
ReconstructXMLDsigResult recstrResult = pdfasAPI.reconstructXMLDSIG(recstrParams);