diff options
author | tlenz <thomas.lenz@egiz.gv.at> | 2017-03-03 16:31:04 +0100 |
---|---|---|
committer | tlenz <thomas.lenz@egiz.gv.at> | 2017-03-03 16:31:04 +0100 |
commit | 4cca82f95f2822c9b76dd266e03fb4fb28ef5b82 (patch) | |
tree | 0e9dfa5e60f9d1d8e0ceef34c5c8be88099d4b68 /moaSig/moa-asic/src/main/java/at/gv/egiz | |
parent | fc85ea3fa7675f626571eee42a91de7d7baab5b9 (diff) | |
download | moa-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/java/at/gv/egiz')
-rw-r--r-- | moaSig/moa-asic/src/main/java/at/gv/egiz/asic/impl/handler/ExtendedASiCXAdESHandler.java | 7 |
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") + ; } } |