From 7148bba1ef68db91bf63d1843d608a022ca2fa08 Mon Sep 17 00:00:00 2001 From: ferbas Date: Thu, 19 Nov 2009 14:28:45 +0000 Subject: null pointer fix git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@451 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c --- .../wag/egov/egiz/sig/connectors/bku/SignSignatureObject.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/java/at/knowcenter/wag/egov') 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 4a88f4f..d4bc0e2 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 @@ -179,7 +179,7 @@ public class SignSignatureObject implements Serializable, MandatorySignatureInfo fillDNMap(this.getX509Certificate().getSubjectX500Principal().getName(), this.subjectDNMap); } } - return this.subjectDNMap.get(key).toString(); + return (String)this.subjectDNMap.get(key); } @@ -198,7 +198,7 @@ public class SignSignatureObject implements Serializable, MandatorySignatureInfo fillDNMap(this.getX509Certificate().getIssuerX500Principal().getName(), this.issuerDNMap); } } - return this.issuerDNMap.get(key).toString(); + return (String)this.issuerDNMap.get(key); } private void fillDNMap(String dn, Map dnMap) { -- cgit v1.2.3