aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-lib/src
diff options
context:
space:
mode:
authorChristian Maierhofer <cmaierhofer@iaik.tugraz.at>2016-06-13 15:49:36 +0200
committerAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2016-08-17 16:48:59 +0200
commit009b3970136978f29e6a25a71036a06692c65660 (patch)
tree94096db3e6d260903e24739dd88023f35b99083a /pdf-as-lib/src
parent06705460473fe1d911d29f264b9ac505d5111fbf (diff)
downloadpdf-as-4-009b3970136978f29e6a25a71036a06692c65660.tar.gz
pdf-as-4-009b3970136978f29e6a25a71036a06692c65660.tar.bz2
pdf-as-4-009b3970136978f29e6a25a71036a06692c65660.zip
added config params for bg-detection and debug rendering
Diffstat (limited to 'pdf-as-lib/src')
-rw-r--r--pdf-as-lib/src/configuration/cfg/advancedconfig.properties6
-rw-r--r--pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/api/IConfigurationConstants.java6
-rw-r--r--pdf-as-lib/src/main/resources/config/config.zipbin1276440 -> 1276515 bytes
3 files changed, 11 insertions, 1 deletions
diff --git a/pdf-as-lib/src/configuration/cfg/advancedconfig.properties b/pdf-as-lib/src/configuration/cfg/advancedconfig.properties
index ade378df..7cdb87b2 100644
--- a/pdf-as-lib/src/configuration/cfg/advancedconfig.properties
+++ b/pdf-as-lib/src/configuration/cfg/advancedconfig.properties
@@ -93,4 +93,8 @@
#register Verificators
default.verifier.01=at.gv.egiz.pdfas.sigs.pades.PAdESVerifier
-#default.verifier.02=at.gv.egiz.pdfas.sigs.pkcs7detached.PKCS7DetachedVerifier \ No newline at end of file
+#default.verifier.02=at.gv.egiz.pdfas.sigs.pkcs7detached.PKCS7DetachedVerifier
+
+#Enable background color detection
+#sigblock.placement.bgcolor.detection.enabled=true
+#sigblock.placement.debug.file=/home/cmaierhofer/temp/debugImg.png \ No newline at end of file
diff --git a/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/api/IConfigurationConstants.java b/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/api/IConfigurationConstants.java
index 27ac9e32..14aca130 100644
--- a/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/api/IConfigurationConstants.java
+++ b/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/api/IConfigurationConstants.java
@@ -103,4 +103,10 @@ public interface IConfigurationConstants {
* Signature object Prefix
*/
public static final String SIG_RESERVED_SIZE = "signatureSize";
+
+ /**
+ * Visual Signature placement
+ */
+ public static final String BG_COLOR_DETECTION = "sigblock.placement.bgcolor.detection.enabled";
+ public static final String SIG_PLACEMENT_DEBUG_OUTPUT = "sigblock.placement.debug.file";
}
diff --git a/pdf-as-lib/src/main/resources/config/config.zip b/pdf-as-lib/src/main/resources/config/config.zip
index 66f6f72d..37416895 100644
--- a/pdf-as-lib/src/main/resources/config/config.zip
+++ b/pdf-as-lib/src/main/resources/config/config.zip
Binary files differ