From ce037a4ee23bbed5e4ba21c1f636c46b0d61c1a3 Mon Sep 17 00:00:00 2001 From: tkellner Date: Wed, 25 Jan 2012 14:37:06 +0000 Subject: SignedProperties reference should point straight to SignedProperties git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@1015 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4 --- .../main/java/at/gv/egiz/bku/slcommands/impl/xsect/Signature.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bkucommon') diff --git a/bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/xsect/Signature.java b/bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/xsect/Signature.java index ebee694b..c9f7da30 100644 --- a/bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/xsect/Signature.java +++ b/bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/xsect/Signature.java @@ -751,7 +751,7 @@ public class Signature { QualifyingProperties1_4Factory factory = QualifyingProperties1_4Factory.getInstance(); - String idValue = ctx.getIdValueFactory().createIdValue("SignedProperties"); + String signedPropertiesIdValue = ctx.getIdValueFactory().createIdValue("SignedProperties"); Date date = (signingTime != null) ? signingTime : new Date(); @@ -790,7 +790,7 @@ public class Signature { JAXBElement qualifyingProperties; try { - qualifyingProperties = factory.createQualifyingProperties141(target, date, signingCertificates, idValue, dataObjectFormats, dm); + qualifyingProperties = factory.createQualifyingProperties141(target, date, signingCertificates, signedPropertiesIdValue, dataObjectFormats, dm); } catch (QualifyingPropertiesException e) { log.error("Failed to create QualifyingProperties.", e); throw new SLCommandException(4000); @@ -813,7 +813,7 @@ public class Signature { objects.add(object); - String referenceURI = "#" + objectIdValue; + String referenceURI = "#" + signedPropertiesIdValue; String referenceIdValue = ctx.getIdValueFactory().createIdValue("Reference"); String referenceType = QualifyingProperties1_4Factory.SIGNED_PROPERTIES_REFERENCE_TYPE; -- cgit v1.2.3