Skip to content

Commit 7a715e0

Browse files
author
Dave Handy
committed
Fixes #145 changes canonicalization method for metadata xml signature generation
1 parent 1ada1e7 commit 7a715e0

File tree

1 file changed

+1
-1
lines changed
  • core/src/main/java/com/onelogin/saml2/util

1 file changed

+1
-1
lines changed

core/src/main/java/com/onelogin/saml2/util/Util.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1106,7 +1106,7 @@ public static String addSign(Document document, PrivateKey key, X509Certificate
11061106

11071107
// document.normalizeDocument();
11081108

1109-
String c14nMethod = Constants.C14N_WC;
1109+
String c14nMethod = Constants.C14NEXC_WC;
11101110

11111111
// Signature object
11121112
XMLSignature sig = new XMLSignature(document, null, signAlgorithm, c14nMethod);

0 commit comments

Comments
 (0)