aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/gv/egiz/pdfas
diff options
context:
space:
mode:
authorferbas <ferbas@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2009-11-19 14:08:10 +0000
committerferbas <ferbas@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2009-11-19 14:08:10 +0000
commit10d6f7edbdf305064f5f5c0ee5086a802045e7ed (patch)
treee8f861539b7176d0bf63c9585b81c8603006d969 /src/main/java/at/gv/egiz/pdfas
parentcfea0465e6f29ea519eabc2de430336ff8ff6cb4 (diff)
downloadpdf-as-3-10d6f7edbdf305064f5f5c0ee5086a802045e7ed.tar.gz
pdf-as-3-10d6f7edbdf305064f5f5c0ee5086a802045e7ed.tar.bz2
pdf-as-3-10d6f7edbdf305064f5f5c0ee5086a802045e7ed.zip
added non text oject info
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@427 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
Diffstat (limited to 'src/main/java/at/gv/egiz/pdfas')
-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;
+ }
+
+
+
}