From 2184b208a36e100a71b2fe78d12df713182fb860 Mon Sep 17 00:00:00 2001 From: rpiazzi Date: Mon, 21 Nov 2011 10:47:22 +0000 Subject: 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 --- .../wag/egov/egiz/sig/connectors/bku/SignSignatureObject.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 { -- cgit v1.2.3