aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-cli/src/main/java/at
diff options
context:
space:
mode:
Diffstat (limited to 'pdf-as-cli/src/main/java/at')
-rw-r--r--pdf-as-cli/src/main/java/at/gv/egiz/pdfas/cli/Main.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/pdf-as-cli/src/main/java/at/gv/egiz/pdfas/cli/Main.java b/pdf-as-cli/src/main/java/at/gv/egiz/pdfas/cli/Main.java
index 37f8486f..eee47888 100644
--- a/pdf-as-cli/src/main/java/at/gv/egiz/pdfas/cli/Main.java
+++ b/pdf-as-cli/src/main/java/at/gv/egiz/pdfas/cli/Main.java
@@ -28,6 +28,7 @@ import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.util.Iterator;
import java.util.List;
+import java.util.UUID;
import org.apache.commons.cli.CommandLine;
import org.apache.commons.cli.CommandLineParser;
@@ -319,6 +320,10 @@ public class Main {
SignParameter signParameter = PdfAsFactory.createSignParameter(
configuration, dataSource);
+ String id = UUID.randomUUID().toString();
+ signParameter.setTransactionId(id);
+ System.out.println("Transaction: " + id);
+
IPlainSigner slConnector = null;
if (connector != null) {