aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-lib/src
diff options
context:
space:
mode:
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