summaryrefslogtreecommitdiff
path: root/pdf-over-signer/src/main
diff options
context:
space:
mode:
authorJakob Heher <jakob.heher@iaik.tugraz.at>2022-08-02 15:05:00 +0200
committerJakob Heher <jakob.heher@iaik.tugraz.at>2022-08-02 15:05:00 +0200
commit464e7b1df6a0ff5d1450e5ff0f67101640edbc5e (patch)
tree7e04c408095bc32aec47ed9a4debfd08e1b64a92 /pdf-over-signer/src/main
parent832cf5d3353a5fef867d177b32681b1295497626 (diff)
downloadpdf-over-464e7b1df6a0ff5d1450e5ff0f67101640edbc5e.tar.gz
pdf-over-464e7b1df6a0ff5d1450e5ff0f67101640edbc5e.tar.bz2
pdf-over-464e7b1df6a0ff5d1450e5ff0f67101640edbc5e.zip
YAGNI: SignResult interface
Diffstat (limited to 'pdf-over-signer/src/main')
-rw-r--r--pdf-over-signer/src/main/java/at/asit/pdfover/signer/pdfas/PdfAs4Signer.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/pdf-over-signer/src/main/java/at/asit/pdfover/signer/pdfas/PdfAs4Signer.java b/pdf-over-signer/src/main/java/at/asit/pdfover/signer/pdfas/PdfAs4Signer.java
index 5993a3a9..8a31f101 100644
--- a/pdf-over-signer/src/main/java/at/asit/pdfover/signer/pdfas/PdfAs4Signer.java
+++ b/pdf-over-signer/src/main/java/at/asit/pdfover/signer/pdfas/PdfAs4Signer.java
@@ -8,7 +8,6 @@ import javax.activation.DataSource;
import at.asit.pdfover.commons.Profile;
import at.asit.pdfover.signator.ByteArrayDocumentSource;
import at.asit.pdfover.signator.SignResult;
-import at.asit.pdfover.signator.SignResultImpl;
import at.asit.pdfover.signator.SignatureException;
import at.asit.pdfover.signator.SignaturePosition;
import at.gv.egiz.pdfas.common.exceptions.PDFASError;
@@ -114,7 +113,7 @@ public class PdfAs4Signer {
pdfas.sign(param);
- SignResultImpl result = new SignResultImpl();
+ SignResult result = new SignResult();
if (param.getSignaturePosition() != null) {
TablePos tp = new TablePos(param.getSignaturePosition());