aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrpiazzi <rpiazzi@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2011-08-19 16:12:12 +0000
committerrpiazzi <rpiazzi@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2011-08-19 16:12:12 +0000
commit1a41fa30a8d400771ce794b8742de40e1e50c251 (patch)
treec2e1d296dff2a393182ee791135112e9d9dac7c2 /src
parente36466e24b06cf1176c81e47d6466ee23ddef287 (diff)
downloadpdf-as-3-1a41fa30a8d400771ce794b8742de40e1e50c251.tar.gz
pdf-as-3-1a41fa30a8d400771ce794b8742de40e1e50c251.tar.bz2
pdf-as-3-1a41fa30a8d400771ce794b8742de40e1e50c251.zip
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
Diffstat (limited to 'src')
-rw-r--r--src/main/java/at/knowcenter/wag/egov/egiz/sig/connectors/bku/SignSignatureObject.java5
1 files changed, 5 insertions, 0 deletions
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();
}