aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorferbas <ferbas@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2009-11-19 14:07:48 +0000
committerferbas <ferbas@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2009-11-19 14:07:48 +0000
commitcfea0465e6f29ea519eabc2de430336ff8ff6cb4 (patch)
tree55fbe4e844851a27e4bac3ae75f7bbf0c88dee0d
parent92a7219d1923e9e55ab0654af91712e0b6fa9003 (diff)
downloadpdf-as-3-cfea0465e6f29ea519eabc2de430336ff8ff6cb4.tar.gz
pdf-as-3-cfea0465e6f29ea519eabc2de430336ff8ff6cb4.tar.bz2
pdf-as-3-cfea0465e6f29ea519eabc2de430336ff8ff6cb4.zip
added non text oject info
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@426 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
-rw-r--r--src/main/java/at/gv/egiz/pdfas/api/sign/SignResult.java15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/main/java/at/gv/egiz/pdfas/api/sign/SignResult.java b/src/main/java/at/gv/egiz/pdfas/api/sign/SignResult.java
index 519a9e1..1bbef31 100644
--- a/src/main/java/at/gv/egiz/pdfas/api/sign/SignResult.java
+++ b/src/main/java/at/gv/egiz/pdfas/api/sign/SignResult.java
@@ -4,7 +4,9 @@
package at.gv.egiz.pdfas.api.sign;
import java.security.cert.X509Certificate;
+import java.util.List;
+import at.gv.egiz.pdfas.api.analyze.NonTextObjectInfo;
import at.gv.egiz.pdfas.api.io.DataSink;
import at.gv.egiz.pdfas.api.sign.pos.SignaturePosition;
@@ -46,4 +48,17 @@ public interface SignResult
* return null if no position information is available.
*/
public SignaturePosition getSignaturePosition();
+
+ /**
+ * Returns a list<{@link NonTextObjectInfo} of non textual objects in the pdf document.
+ * Only available for textual signatures. Show this to the user who signed the textual content only!
+ * @return List<{@link NonTextObjectInfo} or <tt>null</tt> of not available (binary signature)
+ */
+ public List getNonTextualObjects();
+
+ /**
+ * Returns if pdf has non textual objects (only for textual signature available).
+ * @return
+ */
+ public boolean hasNonTextualObjects();
}