aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-cli/src/main
diff options
context:
space:
mode:
authoremusic <emina.music@egiz.gv.at>2018-05-14 16:38:43 +0200
committeremusic <emina.music@egiz.gv.at>2018-05-14 16:38:43 +0200
commit797634c687c6f44d314e4baa3fed220d142eed73 (patch)
tree56dc1ce81e81ff100261aa779a68dcbc61ecc0e5 /pdf-as-cli/src/main
parent0a59371516348ba36163128060e02e997099fcbd (diff)
downloadpdf-as-4-797634c687c6f44d314e4baa3fed220d142eed73.tar.gz
pdf-as-4-797634c687c6f44d314e4baa3fed220d142eed73.tar.bz2
pdf-as-4-797634c687c6f44d314e4baa3fed220d142eed73.zip
changes in pdf-as-lib4.1.3
Diffstat (limited to 'pdf-as-cli/src/main')
-rw-r--r--pdf-as-cli/src/main/java/at/gv/egiz/pdfas/cli/Main.java4
1 files changed, 2 insertions, 2 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 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 {