aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/gv/egiz
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/at/gv/egiz')
-rw-r--r--src/main/java/at/gv/egiz/pdfas/api/verify/VerifyParameters.java19
1 files changed, 19 insertions, 0 deletions
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
* </p>
*/
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 <tt>false</tt>
+ *
+ * @param returnNonTextObjects
+ */
+ public void setReturnNonTextObjects(boolean returnNonTextObjects) {
+ this.returnNonTextObjects = returnNonTextObjects;
+ }
+
+
+
}