From 797634c687c6f44d314e4baa3fed220d142eed73 Mon Sep 17 00:00:00 2001 From: emusic Date: Mon, 14 May 2018 16:38:43 +0200 Subject: changes in pdf-as-lib --- pdf-as-cli/src/main/java/at/gv/egiz/pdfas/cli/Main.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pdf-as-cli') 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 455fd808..4aceb329 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 @@ -457,7 +457,7 @@ public class Main { //make output file protected from copying and extraction content - if(configuration.hasValue(DEFAULT_CONFIG_PROTECT_PDF) && IConfigurationConstants.TRUE.equalsIgnoreCase(configuration.getValue(DEFAULT_CONFIG_PROTECT_PDF))) + /*if(configuration.hasValue(DEFAULT_CONFIG_PROTECT_PDF) && IConfigurationConstants.TRUE.equalsIgnoreCase(configuration.getValue(DEFAULT_CONFIG_PROTECT_PDF))) { SecureRandom random = new SecureRandom(); byte seed[] = random.generateSeed(50); @@ -473,7 +473,7 @@ public class Main { document.save(outputPdfFile); document.close(); logger.info("Added Protection Parameters"); - } + }*/ } private static void perform_verify(CommandLine cli) throws Exception { -- cgit v1.2.3