Sha256: 60b4d5db950c1202eb3369323720c81cc85e99126f9eb427806bdf05685e0660

Contents?: true

Size: 1.84 KB

Versions: 49

Compression:

Stored size: 1.84 KB

Contents

<?xml version="1.0" encoding="UTF-8"?>
<foo:Foo ID="foo" xmlns:foo="http://example.com/foo#" xmlns:baz="http://example.com/baz#" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:ec="http://www.w3.org/2001/10/xml-exc-c14n#">
  <foo:Bar>bar</foo:Bar>
  <ds:Signature>
    <ds:SignedInfo>
      <ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
      <ds:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/>
      <ds:Reference URI="#foo">
        <ds:Transforms>
          <ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
          <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#">
            <ec:InclusiveNamespaces PrefixList="foo baz"/>
          </ds:Transform>
        </ds:Transforms>
        <ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
        <ds:DigestValue></ds:DigestValue>
      </ds:Reference>
    </ds:SignedInfo>
    <ds:SignatureValue></ds:SignatureValue>
  </ds:Signature>
  <baz:Baz ID="baz">
    <ds:Signature>
      <ds:SignedInfo>
        <ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
        <ds:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/>
        <ds:Reference URI="#baz">
          <ds:Transforms>
            <ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
            <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#">
              <ec:InclusiveNamespaces PrefixList="foo baz"/>
            </ds:Transform>
          </ds:Transforms>
          <ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
          <ds:DigestValue></ds:DigestValue>
        </ds:Reference>
      </ds:SignedInfo>
      <ds:SignatureValue></ds:SignatureValue>
    </ds:Signature>
  </baz:Baz>
</foo:Foo>

Version data entries

49 entries across 32 versions & 2 rubygems

Version Path
xmldsig-0.7.0 spec/fixtures/unsigned_nested_signature.xml
xmldsig-0.7.0 spec/fixtures/unsigned/unsigned_nested_signature_at_top.xml
xmldsig-0.6.6 spec/fixtures/unsigned_nested_signature.xml
xmldsig-0.6.6 spec/fixtures/unsigned/unsigned_nested_signature_at_top.xml
xmldsig-0.6.5 spec/fixtures/unsigned/unsigned_nested_signature_at_top.xml
xmldsig-0.6.5 spec/fixtures/unsigned_nested_signature.xml
xmldsig-0.6.4 spec/fixtures/unsigned/unsigned_nested_signature_at_top.xml
xmldsig-0.6.4 spec/fixtures/unsigned_nested_signature.xml
xmldsig-0.6.3 spec/fixtures/unsigned_nested_signature.xml
xmldsig-0.6.3 spec/fixtures/unsigned/unsigned_nested_signature_at_top.xml
xmldsig-0.6.2 spec/fixtures/unsigned/unsigned_nested_signature_at_top.xml
xmldsig-0.6.2 spec/fixtures/unsigned_nested_signature.xml
xmldsig-0.6.1 spec/fixtures/unsigned/unsigned_nested_signature_at_top.xml
xmldsig-0.6.1 spec/fixtures/unsigned_nested_signature.xml
xmldsig-0.5.1 spec/fixtures/unsigned/unsigned_nested_signature_at_top.xml
xmldsig-0.5.1 spec/fixtures/unsigned_nested_signature.xml
xmldsig-0.5.0 spec/fixtures/unsigned/unsigned_nested_signature_at_top.xml
xmldsig-0.5.0 spec/fixtures/unsigned_nested_signature.xml
xmldsig-0.4.1 spec/fixtures/unsigned_nested_signature.xml
xmldsig-0.4.1 spec/fixtures/unsigned/unsigned_nested_signature_at_top.xml