diff options
author | pdanner <pdanner@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c> | 2010-12-13 12:11:23 +0000 |
---|---|---|
committer | pdanner <pdanner@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c> | 2010-12-13 12:11:23 +0000 |
commit | 6a72aee4ceb27b015c76d8fda471f6fa998114f9 (patch) | |
tree | ad99890a9daf355acc5864caee582dda2181308a /src/main/java/at/gv | |
parent | 116c26465f77478fbb5f6306c9975a424bd2d39f (diff) | |
download | pdf-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
Diffstat (limited to 'src/main/java/at/gv')
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));
+ }
}
|