From f8c7f205e5ca418d06f420bfd95c34c244e22740 Mon Sep 17 00:00:00 2001 From: rpiazzi Date: Fri, 19 Aug 2011 16:13:39 +0000 Subject: 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 --- .../java/at/knowcenter/wag/egov/egiz/sig/SignatureTypes.java | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/main/java/at/knowcenter') 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' }, -- cgit v1.2.3