aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-cli/src/main/java
diff options
context:
space:
mode:
authoremusic <emina.music@egiz.gv.at>2018-01-18 17:36:08 +0100
committeremusic <emina.music@egiz.gv.at>2018-03-21 13:34:03 +0100
commit89f53d196e10a1874cd61e3ee42f57dfd77eb856 (patch)
treef3409f6ca4cb559571e00c8ed29895c2f10b7eb2 /pdf-as-cli/src/main/java
parentaf86c24f4f7cc81c5a4603cd8ee4fcaa0cee9eff (diff)
downloadpdf-as-4-89f53d196e10a1874cd61e3ee42f57dfd77eb856.tar.gz
pdf-as-4-89f53d196e10a1874cd61e3ee42f57dfd77eb856.tar.bz2
pdf-as-4-89f53d196e10a1874cd61e3ee42f57dfd77eb856.zip
protecting pdf file
# Conflicts: # pdf-as-pdfbox-2/src/main/java/at/gv/egiz/pdfas/lib/impl/signing/pdfbox2/PADESPDFBOXSigner.java
Diffstat (limited to 'pdf-as-cli/src/main/java')
-rw-r--r--pdf-as-cli/src/main/java/at/gv/egiz/pdfas/cli/Main.java3
1 files changed, 2 insertions, 1 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 7c1255cf..6cae9b63 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
@@ -434,7 +434,7 @@ public class Main {
SignResult result = null;
try {
- result = pdfAs.sign(signParameter);
+ result = pdfAs.sign(signParameter);
} finally {
if (result != null) {
Iterator<Entry<String, String>> infoIt = result
@@ -450,6 +450,7 @@ public class Main {
fos.close();
System.out.println("Signed document " + outputFile);
+
}
private static void perform_verify(CommandLine cli) throws Exception {