From 945c0eb3ad9e679439ce3ee4ec4ecbd442d4aab1 Mon Sep 17 00:00:00 2001 From: Andreas Fitzek Date: Tue, 1 Jul 2014 10:12:35 +0200 Subject: Configuration changes unified Config Constants interface --- .../pdfas/lib/api/IConfigurationConstants.java | 37 ++++++++++++++++++++ .../pdfas/lib/api/PdfAsConfigurationConstants.java | 40 ---------------------- 2 files changed, 37 insertions(+), 40 deletions(-) delete mode 100644 pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/api/PdfAsConfigurationConstants.java (limited to 'pdf-as-lib/src/main/java/at') 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 127120d2..96c31348 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 @@ -23,6 +23,9 @@ ******************************************************************************/ package at.gv.egiz.pdfas.lib.api; +/** + * Collection of useful configuration key + */ public interface IConfigurationConstants { public static final String TRUE = "true"; @@ -41,4 +44,38 @@ public interface IConfigurationConstants { public static final String PLACEHOLDER_SEARCH_ENABLED = "enable_placeholder_search"; public static final String DEFAULT_SIGNATURE_PROFILE = SIG_OBJECT + SEPERATOR + TYPE + SEPERATOR + DEFAULT; + + /** + * Signature object Prefix + */ + public static final String SIG_OBJECT_PREFIX = "sig_obj."; + + /** + * MOA SS Signing Key Identifier + */ + public static final String MOA_SS_KEY_IDENTIFIER = "moa.sign.KeyIdentifier"; + + /** + * MOA SS Signing Certificate + */ + public static final String MOA_SS_KEY_CERTIFICATE = "moa.sign.Certificate"; + + + /** + * MOA Trustprofile configuration Key + */ + public static final String MOA_TRUSTPROFILE_ID = "moa.verify.TrustProfileID"; + + + /** + * MOA Verify URL configuration Key + */ + public static final String MOA_VERIFY_URL = "moa.verify.url"; + + + /** + * MOA Sign URL configuration Key + */ + public static final String MOA_SIGN_URL = "moa.sign.url"; + } diff --git a/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/api/PdfAsConfigurationConstants.java b/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/api/PdfAsConfigurationConstants.java deleted file mode 100644 index da0b3487..00000000 --- a/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/api/PdfAsConfigurationConstants.java +++ /dev/null @@ -1,40 +0,0 @@ -package at.gv.egiz.pdfas.lib.api; - -/** - * Collection of useful configuration key - */ -public interface PdfAsConfigurationConstants { - /** - * Signature object Prefix - */ - public static final String SIG_OBJECT_PREFIX = "sig_obj."; - - /** - * MOA SS Signing Key Identifier - */ - public static final String MOA_SS_KEY_IDENTIFIER = "moa.sign.KeyIdentifier"; - - /** - * MOA SS Signing Certificate - */ - public static final String MOA_SS_KEY_CERTIFICATE = "moa.sign.Certificate"; - - - /** - * MOA Trustprofile configuration Key - */ - public static final String MOA_TRUSTPROFILE_ID = "moa.verify.TrustProfileID"; - - - /** - * MOA Verify URL configuration Key - */ - public static final String MOA_VERIFY_URL = "moa.verify.url"; - - - /** - * MOA Sign URL configuration Key - */ - public static final String MOA_SIGN_URL = "moa.sign.url"; - -} -- cgit v1.2.3