summaryrefslogtreecommitdiff
path: root/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsigner/SignResult.java
diff options
context:
space:
mode:
Diffstat (limited to 'pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsigner/SignResult.java')
-rw-r--r--pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsigner/SignResult.java28
1 files changed, 28 insertions, 0 deletions
diff --git a/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsigner/SignResult.java b/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsigner/SignResult.java
new file mode 100644
index 00000000..6357fe11
--- /dev/null
+++ b/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsigner/SignResult.java
@@ -0,0 +1,28 @@
+package at.asit.pdfover.pdfsigner;
+
+import javax.security.cert.Certificate;
+
+/**
+ * Signature Result containing the signed document as document source
+ * @author afitzek
+ */
+public interface SignResult {
+
+ /**
+ * Getter of the property <tt>signaturePosition</tt>
+ * @return Returns the signaturePosition.
+ */
+ public SignaturePosition GetSignaturePosition();
+
+ /**
+ * Gets the signed Document
+ * @return Returns the documentSource.
+ */
+ public DocumentSource GetSignedDocument();
+
+ /**
+ * Gets the signer certificate
+ * @return The signer x509 certificate
+ */
+ public Certificate GetSignerCertificate();
+}