Repository: camel
Updated Branches:
  refs/heads/camel-2.15.x ab88e6451 -> bb3a145a9


Fix for JDK9 compiler


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/bb3a145a
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/bb3a145a
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/bb3a145a

Branch: refs/heads/camel-2.15.x
Commit: bb3a145a9b244dbffce663dc6202be331ce1841f
Parents: ab88e64
Author: Colm O hEigeartaigh <cohei...@apache.org>
Authored: Thu Sep 10 16:25:12 2015 +0100
Committer: Colm O hEigeartaigh <cohei...@apache.org>
Committed: Thu Sep 10 16:27:26 2015 +0100

----------------------------------------------------------------------
 .../component/xmlsecurity/api/XAdESSignatureProperties.java     | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/bb3a145a/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/api/XAdESSignatureProperties.java
----------------------------------------------------------------------
diff --git 
a/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/api/XAdESSignatureProperties.java
 
b/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/api/XAdESSignatureProperties.java
index c6cb160..06ef1c7 100644
--- 
a/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/api/XAdESSignatureProperties.java
+++ 
b/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/api/XAdESSignatureProperties.java
@@ -36,6 +36,7 @@ import javax.security.auth.x500.X500Principal;
 import javax.xml.crypto.dom.DOMStructure;
 import javax.xml.crypto.dsig.DigestMethod;
 import javax.xml.crypto.dsig.Reference;
+import javax.xml.crypto.dsig.Transform;
 import javax.xml.crypto.dsig.XMLObject;
 import javax.xml.crypto.dsig.XMLSignature;
 import javax.xml.parsers.ParserConfigurationException;
@@ -51,7 +52,6 @@ import org.xml.sax.SAXException;
 
 import org.apache.camel.Message;
 import org.apache.commons.codec.binary.Base64;
-
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
@@ -611,8 +611,9 @@ public class XAdESSignatureProperties implements 
XmlSignatureProperties {
             return result;
         }
         String signedPropertiesId = "_" + UUID.randomUUID().toString();
+        List<Transform> transforms = Collections.emptyList();
         Reference ref = input.getSignatureFactory().newReference("#" + 
signedPropertiesId,
-                
input.getSignatureFactory().newDigestMethod(input.getContentDigestAlgorithm(), 
null), Collections.emptyList(),
+                
input.getSignatureFactory().newDigestMethod(input.getContentDigestAlgorithm(), 
null), transforms,
                 "http://uri.etsi.org/01903#SignedProperties";, null);
 
         Node parent = input.getParent();

Reply via email to