lib/xmldsig/transforms.rb in xmldsig-0.2.9 vs lib/xmldsig/transforms.rb in xmldsig-0.2.10
- old
+ new
@@ -17,9 +17,11 @@
Transforms::EnvelopedSignature.new(node, transform_node)
when "http://www.w3.org/2001/10/xml-exc-c14n#",
"http://www.w3.org/TR/2001/REC-xml-c14n-20010315",
"http://www.w3.org/2006/12/xml-c14n11"
Transforms::Canonicalize.new(node, transform_node)
+ when "http://www.w3.org/2001/10/xml-exc-c14n#WithComments"
+ Transforms::Canonicalize.new(node, transform_node, true)
end
end
end
end