From cfea0465e6f29ea519eabc2de430336ff8ff6cb4 Mon Sep 17 00:00:00 2001 From: ferbas Date: Thu, 19 Nov 2009 14:07:48 +0000 Subject: added non text oject info git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@426 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c --- src/main/java/at/gv/egiz/pdfas/api/sign/SignResult.java | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'src/main/java/at') 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 null of not available (binary signature) + */ + public List getNonTextualObjects(); + + /** + * Returns if pdf has non textual objects (only for textual signature available). + * @return + */ + public boolean hasNonTextualObjects(); } -- cgit v1.2.3