diff options
Diffstat (limited to 'bkucommon')
-rw-r--r-- | bkucommon/src/main/java/at/gv/egiz/bku/binding/HTTPBindingProcessorImpl.java | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/bkucommon/src/main/java/at/gv/egiz/bku/binding/HTTPBindingProcessorImpl.java b/bkucommon/src/main/java/at/gv/egiz/bku/binding/HTTPBindingProcessorImpl.java index baadcc7d..34e04b4d 100644 --- a/bkucommon/src/main/java/at/gv/egiz/bku/binding/HTTPBindingProcessorImpl.java +++ b/bkucommon/src/main/java/at/gv/egiz/bku/binding/HTTPBindingProcessorImpl.java @@ -137,8 +137,13 @@ public class HTTPBindingProcessorImpl extends AbstractBindingProcessor implement } public String getSignatureLayout() { - return configuration + String signatureLayout = configuration .getString(ConfigurationFactoryBean.SIGNATURE_LAYOUT_PROPERTY); + + if (getUseXAdES14() && signatureLayout.equals("1.0")) + signatureLayout = "1.1"; //bump SignatureLayout version to prevent PDF-AS from generating invalid signatures + + return signatureLayout; } public boolean getEnableStylesheetURL() { |