Sha256: c61109f1b26d15da16e3562a5d20470c170f0826aadbeef3020e4e975934913f
Contents?: true
Size: 700 Bytes
Versions: 1
Compression:
Stored size: 700 Bytes
Contents
module Xmldsig_fiscalizer 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_fiscalizer::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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
xmldsig-fiscalizer-0.2.5 | lib/xmldsig_fiscalizer/transforms/canonicalize.rb |