aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/knowcenter
diff options
context:
space:
mode:
authorrpiazzi <rpiazzi@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2011-08-19 16:13:39 +0000
committerrpiazzi <rpiazzi@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2011-08-19 16:13:39 +0000
commitf8c7f205e5ca418d06f420bfd95c34c244e22740 (patch)
tree73fcf5e1a35bd165ff42936c459a3c757c2e8b34 /src/main/java/at/knowcenter
parent1a41fa30a8d400771ce794b8742de40e1e50c251 (diff)
downloadpdf-as-3-f8c7f205e5ca418d06f420bfd95c34c244e22740.tar.gz
pdf-as-3-f8c7f205e5ca418d06f420bfd95c34c244e22740.tar.bz2
pdf-as-3-f8c7f205e5ca418d06f420bfd95c34c244e22740.zip
Added SignatureType SIG_SUBJECT that is needed when replacing the signator name with a static value from the config file
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@792 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
Diffstat (limited to 'src/main/java/at/knowcenter')
-rw-r--r--src/main/java/at/knowcenter/wag/egov/egiz/sig/SignatureTypes.java9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/main/java/at/knowcenter/wag/egov/egiz/sig/SignatureTypes.java b/src/main/java/at/knowcenter/wag/egov/egiz/sig/SignatureTypes.java
index 82d4a13..783512c 100644
--- a/src/main/java/at/knowcenter/wag/egov/egiz/sig/SignatureTypes.java
+++ b/src/main/java/at/knowcenter/wag/egov/egiz/sig/SignatureTypes.java
@@ -195,6 +195,13 @@ public class SignatureTypes
*/
public static final String SIG_NOTE = "SIG_NOTE";
+
+ /**
+ * Standard key get/set the signature subject
+ * Added to be able to define static signator name within config file
+ * added by rpiazzi
+ */
+ public static final String SIG_SUBJECT = "SIG_SUBJECT";
/**
* The logger definition.
@@ -261,7 +268,7 @@ public class SignatureTypes
}
public static String[] ALL_SIG_KEYS = new String[] { SIG_NAME, SIG_DATE,
- SIG_ISSUER, SIG_VALUE, SIG_NORM, SIG_ID, SIG_LABEL, SIG_NUMBER, SIG_META , SIG_ALG};
+ SIG_ISSUER, SIG_VALUE, SIG_NORM, SIG_ID, SIG_LABEL, SIG_NUMBER, SIG_META , SIG_ALG, SIG_NOTE};
public static byte [][] ALL_SIG_BREV = new byte[][] { { 'n', 'a', 'm' },
{ 'd', 'a', 't' }, { 'i', 's', 's' }, { 'v', 'a', 'l' },