aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/knowcenter/wag/egov/egiz/sig
diff options
context:
space:
mode:
authorrpiazzi <rpiazzi@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2011-11-21 10:47:22 +0000
committerrpiazzi <rpiazzi@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2011-11-21 10:47:22 +0000
commit2184b208a36e100a71b2fe78d12df713182fb860 (patch)
tree18246a91c26e586c68a377717b7b5b56dfeb91ac /src/main/java/at/knowcenter/wag/egov/egiz/sig
parent6e80cd5aea391262c90a13a6e77204ca6827be80 (diff)
downloadpdf-as-3-2184b208a36e100a71b2fe78d12df713182fb860.tar.gz
pdf-as-3-2184b208a36e100a71b2fe78d12df713182fb860.tar.bz2
pdf-as-3-2184b208a36e100a71b2fe78d12df713182fb860.zip
Added two new chars to consider at the workaround introduced with the previous changes
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@882 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
Diffstat (limited to 'src/main/java/at/knowcenter/wag/egov/egiz/sig')
-rw-r--r--src/main/java/at/knowcenter/wag/egov/egiz/sig/connectors/bku/SignSignatureObject.java4
1 files changed, 3 insertions, 1 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 74ced09..72f181e 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
@@ -219,7 +219,9 @@ public class SignSignatureObject implements Serializable, MandatorySignatureInfo
//------------------------------------------------------------------------------
//The workaround here is to call this.getX509Certificate().getSubjectDN.toString()
//instead of this.getX509Certificate().getSubjectDN.getName()
- if (this.getX509Certificate().getSubjectDN().toString().contains(";")) {
+ if (this.getX509Certificate().getSubjectDN().toString().contains(";") ||
+ this.getX509Certificate().getSubjectDN().toString().contains("#") ||
+ this.getX509Certificate().getSubjectDN().toString().contains("&")) {
fillDNMap(this.getX509Certificate().getSubjectDN().toString(), this.subjectDNMap);
}
else {