From 1faaccc18a3ccbc7b827da8956fb9783e9713228 Mon Sep 17 00:00:00 2001 From: pdanner Date: Fri, 10 Dec 2010 13:08:35 +0000 Subject: 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 --- .../ReconstructXMLDsigAfterAnalysisParameters.java | 52 ---------------------- 1 file changed, 52 deletions(-) (limited to 'src/main/java/at/gv/egiz/pdfas/api/xmldsig') diff --git a/src/main/java/at/gv/egiz/pdfas/api/xmldsig/ReconstructXMLDsigAfterAnalysisParameters.java b/src/main/java/at/gv/egiz/pdfas/api/xmldsig/ReconstructXMLDsigAfterAnalysisParameters.java index 1f0ecc5..1975a27 100644 --- a/src/main/java/at/gv/egiz/pdfas/api/xmldsig/ReconstructXMLDsigAfterAnalysisParameters.java +++ b/src/main/java/at/gv/egiz/pdfas/api/xmldsig/ReconstructXMLDsigAfterAnalysisParameters.java @@ -1,7 +1,5 @@ package at.gv.egiz.pdfas.api.xmldsig; -import java.util.Date; - import at.gv.egiz.pdfas.api.analyze.AnalyzeResult; import at.gv.egiz.pdfas.api.commons.Constants; @@ -29,22 +27,6 @@ public class ReconstructXMLDsigAfterAnalysisParameters { */ protected String signatureDevice = Constants.SIGNATURE_DEVICE_MOA; - /** - * Allows to pass a VerificationTime to the signature device. - */ - protected Date verificationTime = null; - - /** - * Tells the signature device (e.g. MOA) to return the signature hash input - * data (which is the probably transformed signed data). - * - *

- * Note that this forces MOA to return the potentially large signature data to - * be returned in the result XML, which may result in very bad performance. - *

- */ - protected boolean returnHashInputData = false; - /** * @return the analyzeResult */ @@ -78,38 +60,4 @@ public class ReconstructXMLDsigAfterAnalysisParameters { { this.signatureDevice = signatureDevice; } - - /** - * @return the verificationTime - */ - public Date getVerificationTime() - { - return this.verificationTime; - } - - /** - * @param verificationTime the verificationTime to set - */ - public void setVerificationTime(Date verificationTime) - { - this.verificationTime = verificationTime; - } - - /** - * @return the returnHashInputData - */ - public boolean isReturnHashInputData() - { - return this.returnHashInputData; - } - - /** - * @param returnHashInputData - * the returnHashInputData to set - */ - public void setReturnHashInputData(boolean returnHashInputData) - { - this.returnHashInputData = returnHashInputData; - } - } -- cgit v1.2.3