summaryrefslogtreecommitdiff
path: root/utils/src/main/java/at
diff options
context:
space:
mode:
authortkellner <tkellner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2012-02-24 17:09:56 +0000
committertkellner <tkellner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2012-02-24 17:09:56 +0000
commit5af1583895ddf277d6c68100c14950da71d1c3b8 (patch)
treed8913a049e14b0307a31f0a6ac75c68840712708 /utils/src/main/java/at
parentbd5dd7c38503153fb56f097cf417ce585359471d (diff)
downloadmocca-5af1583895ddf277d6c68100c14950da71d1c3b8.tar.gz
mocca-5af1583895ddf277d6c68100c14950da71d1c3b8.tar.bz2
mocca-5af1583895ddf277d6c68100c14950da71d1c3b8.zip
Add the namespace 'dsig' to the signature elements
Signed-off-by: Tobias Kellner <tobias.kellner@iaik.tugraz.at> git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@1026 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4
Diffstat (limited to 'utils/src/main/java/at')
-rw-r--r--utils/src/main/java/at/gv/egiz/idlink/IdentityLinkFactory.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/src/main/java/at/gv/egiz/idlink/IdentityLinkFactory.java b/utils/src/main/java/at/gv/egiz/idlink/IdentityLinkFactory.java
index f269c467..9cc44275 100644
--- a/utils/src/main/java/at/gv/egiz/idlink/IdentityLinkFactory.java
+++ b/utils/src/main/java/at/gv/egiz/idlink/IdentityLinkFactory.java
@@ -366,6 +366,7 @@ public class IdentityLinkFactory {
keyInfo, Collections.singletonList(xmlObject), null, null);
DOMSignContext signContext = new DOMSignContext(key, assertion);
+ signContext.putNamespacePrefix(XMLSignature.XMLNS, "dsig");
if (log.isTraceEnabled()) {
signContext.setProperty("javax.xml.crypto.dsig.cacheReference", Boolean.TRUE);