aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/gv/egiz/pdfas/api/commons/Constants.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/at/gv/egiz/pdfas/api/commons/Constants.java')
-rw-r--r--src/main/java/at/gv/egiz/pdfas/api/commons/Constants.java32
1 files changed, 19 insertions, 13 deletions
diff --git a/src/main/java/at/gv/egiz/pdfas/api/commons/Constants.java b/src/main/java/at/gv/egiz/pdfas/api/commons/Constants.java
index a7bc776..19f7613 100644
--- a/src/main/java/at/gv/egiz/pdfas/api/commons/Constants.java
+++ b/src/main/java/at/gv/egiz/pdfas/api/commons/Constants.java
@@ -21,13 +21,15 @@ public final class Constants
/**
* A binary signature.
+ * This value should not be modified due to external dependencies!
*/
- public static String SIGNATURE_TYPE_BINARY = "binary";
+ public static final String SIGNATURE_TYPE_BINARY = "binary";
/**
* A textual signature.
+ * This value should not be modified due to external dependencies!
*/
- public static String SIGNATURE_TYPE_TEXTUAL = "textual";
+ public static final String SIGNATURE_TYPE_TEXTUAL = "textual";
/**
* A "detached" textual signature.
@@ -37,32 +39,36 @@ public final class Constants
* the sign result XML of the connector is returned.
* </p>
*/
- public static String SIGNATURE_TYPE_DETACHEDTEXTUAL = "detachedtextual";
+ public static final String SIGNATURE_TYPE_DETACHEDTEXTUAL = "detachedtextual";
/**
* The signature device moa.
+ * This value should not be modified due to external dependencies!
*/
- public static String SIGNATURE_DEVICE_MOA = "moa";
+ public static final String SIGNATURE_DEVICE_MOA = "moa";
/**
* The signature device bku.
+ * This value should not be modified due to external dependencies!
*/
- public static String SIGNATURE_DEVICE_BKU = "bku";
+ public static final String SIGNATURE_DEVICE_BKU = "bku";
/**
* The signature device a1.
+ * This value should not be modified due to external dependencies!
*/
- public static String SIGNATURE_DEVICE_A1 = "a1";
+ public static final String SIGNATURE_DEVICE_A1 = "a1";
/**
* The signature device MOCCA (online bku).
+ * This value should not be modified due to external dependencies!
*/
public static final String SIGNATURE_DEVICE_MOC = "moc";
/**
* Only binary signatures are verified.
*/
- public static String VERIFY_MODE_BINARY_ONLY = "binaryOnly";
+ public static final String VERIFY_MODE_BINARY_ONLY = "binaryOnly";
/**
* Binary and textual signatures are verified with time optimization.
@@ -73,27 +79,27 @@ public final class Constants
* signatures may not be found.
* </p>
*/
- public static String VERIFY_MODE_SEMI_CONSERVATIVE = "semiConservative";
+ public static final String VERIFY_MODE_SEMI_CONSERVATIVE = "semiConservative";
/**
* Binary and textual signatures are verified.
*/
- public static String VERIFY_MODE_FULL_CONSERVATIVE = "fullConservative";
+ public static final String VERIFY_MODE_FULL_CONSERVATIVE = "fullConservative";
/**
* All signatures are verified.
*/
- public static int VERIFY_ALL = -1;
+ public static final int VERIFY_ALL = -1;
/**
* The system property that may be used to declare the pdf-as configuration folder.
*/
- public final static String CONFIG_DIR_SYSTEM_PROPERTY = "pdf-as.work-dir";
+ public static final String CONFIG_DIR_SYSTEM_PROPERTY = "pdf-as.work-dir";
/**
* The zip file containing the default configuration.
*/
- public final static String DEFAULT_CONFIGURATION_ZIP_RESOURCE = "DefaultConfiguration.zip";
+ public static final String DEFAULT_CONFIGURATION_ZIP_RESOURCE = "DefaultConfiguration.zip";
/**
* The configuration folder for pdf-as within the user's home folder.
@@ -103,7 +109,7 @@ public final class Constants
/**
* The name of the directory, where temporary files are stored.
*/
- public final static String TEMP_DIR_NAME = "pdfastmp";
+ public static final String TEMP_DIR_NAME = "pdfastmp";
}