From 1a41fa30a8d400771ce794b8742de40e1e50c251 Mon Sep 17 00:00:00 2001 From: rpiazzi Date: Fri, 19 Aug 2011 16:12:12 +0000 Subject: Added SIG_SUBJECT as possible SignatureType when replacing signator with static name inserted as SIG_SUBJECT within config file git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@791 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c --- .../wag/egov/egiz/sig/connectors/bku/SignSignatureObject.java | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') diff --git a/src/main/java/at/knowcenter/wag/egov/egiz/sig/connectors/bku/SignSignatureObject.java b/src/main/java/at/knowcenter/wag/egov/egiz/sig/connectors/bku/SignSignatureObject.java index 3417cb7..eb800d8 100644 --- a/src/main/java/at/knowcenter/wag/egov/egiz/sig/connectors/bku/SignSignatureObject.java +++ b/src/main/java/at/knowcenter/wag/egov/egiz/sig/connectors/bku/SignSignatureObject.java @@ -182,6 +182,11 @@ public class SignSignatureObject implements Serializable, MandatorySignatureInfo return getName(); } + if (sigKey.equals(SignatureTypes.SIG_SUBJECT)) + { + return getName(); + } + if (sigKey.equals(SignatureTypes.SIG_ALG)) { return getSigAlgorithm(); } -- cgit v1.2.3