Module: Akami::C14nHelper

Included in:
WSSE::Signature, WSSE::VerifySignature
Defined in:
lib/akami/c14n_helper.rb

Instance Method Summary collapse

Instance Method Details

#canonicalize(xml) ⇒ Object



3
4
5
6
# File 'lib/akami/c14n_helper.rb', line 3

def canonicalize(xml)
  return unless xml
  xml.canonicalize Nokogiri::XML::XML_C14N_EXCLUSIVE_1_0
end