Sha256: cb9f79450eed3640d71a6ff0fbabe156da50bdbadb40ad8ab88998adc1f2f1fc
Contents?: true
Size: 693 Bytes
Versions: 7
Compression:
Stored size: 693 Bytes
Contents
module Xmldsig class Transforms < Array class Canonicalize < Transform def transform self.node = Canonicalizer.new(node, algorithm, inclusive_namespaces, with_comments).canonicalize node end private def algorithm transform_node.get_attribute("Algorithm") end def inclusive_namespaces inclusive_namespaces = transform_node.at_xpath("descendant::ec:InclusiveNamespaces", Xmldsig::NAMESPACES) if inclusive_namespaces && inclusive_namespaces.has_attribute?("PrefixList") inclusive_namespaces.get_attribute("PrefixList").to_s.split(" ") else [] end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems