Sha256: 002410858283349dbf299929a1febb9861e274bf7c71f1e508a9810d8e5f5c3c

Contents?: true

Size: 683 Bytes

Versions: 4

Compression:

Stored size: 683 Bytes

Contents

# frozen_string_literal: true

xml.Signature 'xmlns' => ::Xml::Kit::Namespaces::XMLDSIG do
  xml.SignedInfo do
    xml.CanonicalizationMethod Algorithm: ::Xml::Kit::Namespaces::CANONICALIZATION
    xml.SignatureMethod Algorithm: signature_method
    xml.Reference URI: "##{reference_id}" do
      xml.Transforms do
        xml.Transform Algorithm: ::Xml::Kit::Namespaces::ENVELOPED_SIG
        xml.Transform Algorithm: ::Xml::Kit::Namespaces::CANONICALIZATION
      end
      xml.DigestMethod Algorithm: digest_method
      xml.DigestValue ''
    end
  end
  xml.SignatureValue ''
  xml.KeyInfo do
    xml.X509Data do
      xml.X509Certificate certificate.stripped
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
xml-kit-0.6.0 lib/xml/kit/templates/signature.builder
xml-kit-0.5.0 lib/xml/kit/templates/signature.builder
xml-kit-0.4.0 lib/xml/kit/templates/signature.builder
xml-kit-0.3.1 lib/xml/kit/templates/signature.builder