From b61707b8dad60b339c4ef0f7f694cea92a362bfb Mon Sep 17 00:00:00 2001 From: tkellner Date: Fri, 21 Dec 2012 15:05:48 +0000 Subject: Append -X14 to UA string when using XAdES1.4 git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@1157 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4 --- .../at/gv/egiz/bku/slcommands/impl/CreateXMLSignatureCommandImpl.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl') diff --git a/bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/CreateXMLSignatureCommandImpl.java b/bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/CreateXMLSignatureCommandImpl.java index 903eae18..ffea6213 100644 --- a/bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/CreateXMLSignatureCommandImpl.java +++ b/bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/CreateXMLSignatureCommandImpl.java @@ -42,6 +42,7 @@ import org.w3c.dom.ls.LSSerializer; import at.buergerkarte.namespaces.securitylayer._1.CreateXMLSignatureRequestType; import at.buergerkarte.namespaces.securitylayer._1.DataObjectInfoType; +import at.gv.egiz.bku.binding.HTTPBindingProcessorImpl; import at.gv.egiz.bku.conf.MoccaConfigurationFacade; import at.gv.egiz.bku.slcommands.CreateXMLSignatureCommand; import at.gv.egiz.bku.slcommands.SLCommandContext; @@ -98,7 +99,8 @@ public class CreateXMLSignatureCommandImpl extends private Configuration configuration; public static final String USE_STRONG_HASH = "UseStrongHash"; - public static final String USE_XADES_1_4 = "UseXAdES14"; + public static final String USE_XADES_1_4 = + HTTPBindingProcessorImpl.ConfigurationFacade.USE_XADES_1_4; public void setConfiguration(Configuration configuration) { this.configuration = configuration; -- cgit v1.2.3