summaryrefslogtreecommitdiff
path: root/BKUOnline/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'BKUOnline/src/main')
-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);