diff options
Diffstat (limited to 'src/main/java/at/gv/egiz')
-rw-r--r-- | src/main/java/at/gv/egiz/pdfas/api/sign/SignResult.java | 15 |
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();
}
|