aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpdanner <pdanner@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2010-12-13 12:11:23 +0000
committerpdanner <pdanner@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2010-12-13 12:11:23 +0000
commit6a72aee4ceb27b015c76d8fda471f6fa998114f9 (patch)
treead99890a9daf355acc5864caee582dda2181308a
parent116c26465f77478fbb5f6306c9975a424bd2d39f (diff)
downloadpdf-as-3-6a72aee4ceb27b015c76d8fda471f6fa998114f9.tar.gz
pdf-as-3-6a72aee4ceb27b015c76d8fda471f6fa998114f9.tar.bz2
pdf-as-3-6a72aee4ceb27b015c76d8fda471f6fa998114f9.zip
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@705 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
-rw-r--r--src/main/java/at/gv/egiz/pdfas/api/verify/VerifyAfterAnalysisParameters.java12
-rw-r--r--src/main/java/at/gv/egiz/pdfas/api/verify/VerifyAfterReconstructXMLDsigParameters.java12
-rw-r--r--src/main/java/at/gv/egiz/pdfas/api/verify/VerifyParameters.java6
3 files changed, 28 insertions, 2 deletions
diff --git a/src/main/java/at/gv/egiz/pdfas/api/verify/VerifyAfterAnalysisParameters.java b/src/main/java/at/gv/egiz/pdfas/api/verify/VerifyAfterAnalysisParameters.java
index 836bc13..45e7e98 100644
--- a/src/main/java/at/gv/egiz/pdfas/api/verify/VerifyAfterAnalysisParameters.java
+++ b/src/main/java/at/gv/egiz/pdfas/api/verify/VerifyAfterAnalysisParameters.java
@@ -131,4 +131,16 @@ public class VerifyAfterAnalysisParameters
return verifySignatureIndex;
}
+ /**
+ * @see VerifyParameters#setSuppressVerifyExceptions(boolean)
+ * @param suppress
+ */
+ public void setSuppressVerifyExceptions(boolean suppress) {
+ VerifyParameters.setSuppressVerify(suppress);
+ }
+
+ public boolean isSuppressVerifyExceptions() {
+ return VerifyParameters.isSuppressVerifyExceptions();
+ }
+
}
diff --git a/src/main/java/at/gv/egiz/pdfas/api/verify/VerifyAfterReconstructXMLDsigParameters.java b/src/main/java/at/gv/egiz/pdfas/api/verify/VerifyAfterReconstructXMLDsigParameters.java
index 24bba20..b490848 100644
--- a/src/main/java/at/gv/egiz/pdfas/api/verify/VerifyAfterReconstructXMLDsigParameters.java
+++ b/src/main/java/at/gv/egiz/pdfas/api/verify/VerifyAfterReconstructXMLDsigParameters.java
@@ -128,4 +128,16 @@ public class VerifyAfterReconstructXMLDsigParameters {
return verifySignatureIndex;
}
+ /**
+ * @see VerifyParameters#setSuppressVerifyExceptions(boolean)
+ * @param suppress
+ */
+ public void setSuppressVerifyExceptions(boolean suppress) {
+ VerifyParameters.setSuppressVerify(suppress);
+ }
+
+ public boolean isSuppressVerifyExceptions() {
+ return VerifyParameters.isSuppressVerifyExceptions();
+ }
+
}
diff --git a/src/main/java/at/gv/egiz/pdfas/api/verify/VerifyParameters.java b/src/main/java/at/gv/egiz/pdfas/api/verify/VerifyParameters.java
index 9cc86a7..b9514ac 100644
--- a/src/main/java/at/gv/egiz/pdfas/api/verify/VerifyParameters.java
+++ b/src/main/java/at/gv/egiz/pdfas/api/verify/VerifyParameters.java
@@ -210,7 +210,7 @@ public class VerifyParameters
* @param suppress
*/
public void setSuppressVerifyExceptions(boolean suppress) {
- suppressVerifyExceptions.set(new Boolean(suppress));
+ setSuppressVerify(suppress);
}
/**
@@ -222,6 +222,8 @@ public class VerifyParameters
return ((Boolean) suppressVerifyExceptions.get()).booleanValue();
}
-
+ static void setSuppressVerify(boolean suppress) {
+ suppressVerifyExceptions.set(new Boolean(suppress));
+ }
}