aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/knowcenter/wag/egov
diff options
context:
space:
mode:
authorpdanner <pdanner@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2010-11-29 14:28:19 +0000
committerpdanner <pdanner@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2010-11-29 14:28:19 +0000
commit382082bf94c61c1b7fd8acb53a2137c70a533f71 (patch)
tree4e3ff73c54375de3c0035cdff020e618de51fb30 /src/main/java/at/knowcenter/wag/egov
parent7829299864100095d366403a09f7dfaa44cf2ac6 (diff)
downloadpdf-as-3-382082bf94c61c1b7fd8acb53a2137c70a533f71.tar.gz
pdf-as-3-382082bf94c61c1b7fd8acb53a2137c70a533f71.tar.bz2
pdf-as-3-382082bf94c61c1b7fd8acb53a2137c70a533f71.zip
added exception result for verify
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@637 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
Diffstat (limited to 'src/main/java/at/knowcenter/wag/egov')
-rw-r--r--src/main/java/at/knowcenter/wag/egov/egiz/sig/SignatureResponse.java13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/main/java/at/knowcenter/wag/egov/egiz/sig/SignatureResponse.java b/src/main/java/at/knowcenter/wag/egov/egiz/sig/SignatureResponse.java
index 089bfed..1b131c8 100644
--- a/src/main/java/at/knowcenter/wag/egov/egiz/sig/SignatureResponse.java
+++ b/src/main/java/at/knowcenter/wag/egov/egiz/sig/SignatureResponse.java
@@ -24,6 +24,7 @@ import java.util.Set;
import org.apache.log4j.Logger;
+import at.gv.egiz.pdfas.api.exceptions.PdfAsException;
import at.knowcenter.wag.egov.egiz.cfg.ConfigLogger;
import at.knowcenter.wag.egov.egiz.cfg.PropertyTree;
import at.knowcenter.wag.egov.egiz.cfg.SettingsReader;
@@ -107,6 +108,8 @@ public class SignatureResponse
protected String hashInputData = null;
+ private PdfAsException verificationImpossibleEx = null;
+
// /**
// * Flag the marks that the response is an error response
// */
@@ -470,7 +473,15 @@ public class SignatureResponse
this.hashInputData = hashInputData;
}
- /**
+ public PdfAsException getVerificationImpossibleEx() {
+ return verificationImpossibleEx;
+ }
+
+ public void setVerificationImpossibleEx(PdfAsException verificationImpossibleEx) {
+ this.verificationImpossibleEx = verificationImpossibleEx;
+ }
+
+/**
* Returns a list of Strings each stating one public property of the
* certificate.
*