From 10d6f7edbdf305064f5f5c0ee5086a802045e7ed Mon Sep 17 00:00:00 2001
From: ferbas
Date: Thu, 19 Nov 2009 14:08:10 +0000
Subject: added non text oject info
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@427 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
---
.../at/gv/egiz/pdfas/api/verify/VerifyParameters.java | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
(limited to 'src/main/java/at/gv/egiz/pdfas/api/verify/VerifyParameters.java')
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 fb3b8b8..4f60bea 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
@@ -77,6 +77,8 @@ public class VerifyParameters
*
*/
protected boolean returnHashInputData = false;
+
+ protected boolean returnNonTextObjects = false;
/**
* @return the document
@@ -180,4 +182,21 @@ public class VerifyParameters
this.returnHashInputData = returnHashInputData;
}
+ public boolean isReturnNonTextObjects() {
+ return this.returnNonTextObjects;
+ }
+
+ /**
+ * Tells if non text object of the signed pdf should be extracted and returned.
+ * One should show this to the user, especially in case of textual signature.
+ * Defaults to false
+ *
+ * @param returnNonTextObjects
+ */
+ public void setReturnNonTextObjects(boolean returnNonTextObjects) {
+ this.returnNonTextObjects = returnNonTextObjects;
+ }
+
+
+
}
--
cgit v1.2.3