aboutsummaryrefslogtreecommitdiff
path: root/moaSig/moa-asic/src/main
diff options
context:
space:
mode:
authortlenz <thomas.lenz@egiz.gv.at>2017-03-03 16:31:04 +0100
committertlenz <thomas.lenz@egiz.gv.at>2017-03-03 16:31:04 +0100
commit4cca82f95f2822c9b76dd266e03fb4fb28ef5b82 (patch)
tree0e9dfa5e60f9d1d8e0ceef34c5c8be88099d4b68 /moaSig/moa-asic/src/main
parentfc85ea3fa7675f626571eee42a91de7d7baab5b9 (diff)
downloadmoa-sig-4cca82f95f2822c9b76dd266e03fb4fb28ef5b82.tar.gz
moa-sig-4cca82f95f2822c9b76dd266e03fb4fb28ef5b82.tar.bz2
moa-sig-4cca82f95f2822c9b76dd266e03fb4fb28ef5b82.zip
fix bug in ASiC-E with XAdES signature handler
According to TS-102-918 (http://www.etsi.org/deliver/etsi_ts/102900_102999/102918/01.01.01_60/ts_102918v010101p.pdf) the XAdES signature filename shall contain 'signatures'
Diffstat (limited to 'moaSig/moa-asic/src/main')
-rw-r--r--moaSig/moa-asic/src/main/java/at/gv/egiz/asic/impl/handler/ExtendedASiCXAdESHandler.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/moaSig/moa-asic/src/main/java/at/gv/egiz/asic/impl/handler/ExtendedASiCXAdESHandler.java b/moaSig/moa-asic/src/main/java/at/gv/egiz/asic/impl/handler/ExtendedASiCXAdESHandler.java
index aee94eb..971ba31 100644
--- a/moaSig/moa-asic/src/main/java/at/gv/egiz/asic/impl/handler/ExtendedASiCXAdESHandler.java
+++ b/moaSig/moa-asic/src/main/java/at/gv/egiz/asic/impl/handler/ExtendedASiCXAdESHandler.java
@@ -10,8 +10,9 @@ public class ExtendedASiCXAdESHandler extends XAdESHandler {
protected boolean matches(String entryName) {
return entryName.endsWith(".xml")
&& entryName.startsWith(FILE_META_INF)
- && entryName.contains("signature")
- && !entryName.contains("ASiCManifest")
- && !entryName.contains("AsiCManifest");
+ && entryName.contains("signatures")
+// && !entryName.contains("ASiCManifest")
+// && !entryName.contains("AsiCManifest")
+ ;
}
}