From 4cca82f95f2822c9b76dd266e03fb4fb28ef5b82 Mon Sep 17 00:00:00 2001 From: tlenz Date: Fri, 3 Mar 2017 16:31:04 +0100 Subject: 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' --- .../at/gv/egiz/asic/impl/handler/ExtendedASiCXAdESHandler.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'moaSig/moa-asic/src/main/java/at/gv/egiz') 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") + ; } } -- cgit v1.2.3