summaryrefslogtreecommitdiff
path: root/BKUOnline/src/main/java
diff options
context:
space:
mode:
authorclemenso <clemenso@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2009-11-13 16:12:38 +0000
committerclemenso <clemenso@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2009-11-13 16:12:38 +0000
commit05cad3335b6301e58d184b3867f74d748688d20b (patch)
treecacf74d7f96ab7df27b5a71c9f338e0d6cf68ef1 /BKUOnline/src/main/java
parentd8e2a8152c4e3aff8bfc9f8edb947ed1de0276d9 (diff)
downloadmocca-05cad3335b6301e58d184b3867f74d748688d20b.tar.gz
mocca-05cad3335b6301e58d184b3867f74d748688d20b.tar.bz2
mocca-05cad3335b6301e58d184b3867f74d748688d20b.zip
IDE UTF-8 encoding
git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@548 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4
Diffstat (limited to 'BKUOnline/src/main/java')
-rw-r--r--BKUOnline/src/main/java/at/gv/egiz/stal/service/impl/STALServiceImpl.java17
-rw-r--r--BKUOnline/src/main/java/at/gv/egiz/stal/service/impl/TestSignatureData.java2
2 files changed, 1 insertions, 18 deletions
diff --git a/BKUOnline/src/main/java/at/gv/egiz/stal/service/impl/STALServiceImpl.java b/BKUOnline/src/main/java/at/gv/egiz/stal/service/impl/STALServiceImpl.java
index 2ca108e0..eab9bed5 100644
--- a/BKUOnline/src/main/java/at/gv/egiz/stal/service/impl/STALServiceImpl.java
+++ b/BKUOnline/src/main/java/at/gv/egiz/stal/service/impl/STALServiceImpl.java
@@ -355,23 +355,6 @@ public class STALServiceImpl implements STALPortType {
ref.setEncoding(TestSignatureData.ENCODING);
response.getReference().add(ref);
}
-// GetHashDataInputResponseType.Reference ref = new GetHashDataInputResponseType.Reference();
-// ref.setID("signed-data-reference-0-1214921968-27971781-24309"); //Reference-" + TEST_SESSION_ID + "-001");
-// ref.setMimeType("text/plain");
-
-// Charset charset;
-// try {
-// charset = Charset.forName("iso-8859-15");
-// ref.setEncoding("iso-8859-15");
-// } catch (Exception ex) {
-// log.warn(ex.getMessage());
-// charset = Charset.defaultCharset();
-// ref.setEncoding(charset.toString());
-// }
-// ref.setValue("hashdatainput-öäüß@€-00000000001".getBytes(charset));
-
-// ref.setValue("Ich bin ein einfacher Text. llšŠŸ§Û".getBytes());
-// response.getReference().add(ref);
return response;
}
diff --git a/BKUOnline/src/main/java/at/gv/egiz/stal/service/impl/TestSignatureData.java b/BKUOnline/src/main/java/at/gv/egiz/stal/service/impl/TestSignatureData.java
index 19f53968..2f58bb3d 100644
--- a/BKUOnline/src/main/java/at/gv/egiz/stal/service/impl/TestSignatureData.java
+++ b/BKUOnline/src/main/java/at/gv/egiz/stal/service/impl/TestSignatureData.java
@@ -19,7 +19,7 @@ public final class TestSignatureData {
public static final Map<String, byte[]> HASHDATA_INPUT = new HashMap<String, byte[]>();
static {
try {
- HASHDATA_INPUT.put(ID[0], "Ich bin ein einfacher Text. lll".getBytes(ENCODING));
+ HASHDATA_INPUT.put(ID[0], "Ich bin ein einfacher Text. lläöü߀".getBytes(ENCODING));
HASHDATA_INPUT.put(ID[1], "2te referenz".getBytes(ENCODING));
} catch (UnsupportedEncodingException ex) {
log.error("failed to init signature test data", ex);