diff options
author | tkellner <tkellner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4> | 2012-01-25 14:37:06 +0000 |
---|---|---|
committer | tkellner <tkellner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4> | 2012-01-25 14:37:06 +0000 |
commit | ce037a4ee23bbed5e4ba21c1f636c46b0d61c1a3 (patch) | |
tree | 097ae96e7c366254bc2f3d261f7d1949bc91d2e6 /bkucommon | |
parent | 41034fdfc18cd6fdeca00cdbb225e6af08825d01 (diff) | |
download | mocca-ce037a4ee23bbed5e4ba21c1f636c46b0d61c1a3.tar.gz mocca-ce037a4ee23bbed5e4ba21c1f636c46b0d61c1a3.tar.bz2 mocca-ce037a4ee23bbed5e4ba21c1f636c46b0d61c1a3.zip |
SignedProperties reference should point straight to SignedProperties
git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@1015 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4
Diffstat (limited to 'bkucommon')
-rw-r--r-- | bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/xsect/Signature.java | 6 |
1 files changed, 3 insertions, 3 deletions
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<org.etsi.uri._01903.v1_3.QualifyingPropertiesType> 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; |