aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/demo
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/demo')
-rw-r--r--src/main/java/demo/SignatureCreationDemo.java6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/main/java/demo/SignatureCreationDemo.java b/src/main/java/demo/SignatureCreationDemo.java
index d42bc9e..32708b8 100644
--- a/src/main/java/demo/SignatureCreationDemo.java
+++ b/src/main/java/demo/SignatureCreationDemo.java
@@ -13,10 +13,6 @@ import at.gv.egiz.pdfas.api.io.DataSource;
import at.gv.egiz.pdfas.api.sign.SignParameters;
import at.gv.egiz.pdfas.api.sign.SignResult;
import at.gv.egiz.pdfas.api.sign.pos.SignaturePositioning;
-import at.gv.egiz.pdfas.api.sign.pos.axis.AbsoluteAxisAlgorithm;
-import at.gv.egiz.pdfas.api.sign.pos.page.AbsolutePageAlgorithm;
-import at.gv.egiz.pdfas.api.sign.pos.page.PageAlgorithm;
-import at.gv.egiz.pdfas.api.timestamp.DummyTimeStamper;
import at.gv.egiz.pdfas.io.FileBasedDataSink;
import at.gv.egiz.pdfas.io.FileBasedDataSource;
@@ -81,7 +77,7 @@ public class SignatureCreationDemo {
// based on default configuration
// note: any modifications are bound to the SignParameters object instance.
// It is not possible to permanently change profile configuration.
- signParameters.setProfileOverrideValue("SIG_NAME", "Max Mustermann");
+ signParameters.setProfileOverrideValue("SIG_NAME", "Max Mustermann"); // you may use expressions here like ${subject.EMAIL}
signParameters.setProfileOverrideValue("SIG_META", "This is a modified note.");
// sign