Sha256: 994f5b823aa747b2be0dcfd5a103c38f72a6d2f8f20d76bb6dc3ddf6d6bb9a8e
Contents?: true
Size: 678 Bytes
Versions: 16
Compression:
Stored size: 678 Bytes
Contents
module Xmldsig class Transforms < Array class Canonicalize < Transform def transform self.node = Canonicalizer.new(node, algorithm, inclusive_namespaces).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
16 entries across 16 versions & 2 rubygems