Sha256: c85e535a56a7dc500056a42ed75e0fd327f3c416a911c10dc3981389ac65b343

Contents?: true

Size: 1.92 KB

Versions: 11

Compression:

Stored size: 1.92 KB

Contents

<?xml version="1.0" encoding="UTF-8"?>
<baz:Baz ID="baz" 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#">
  <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>
  <foo:Foo ID="foo">
    <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"/>
            </ds:Transform>
          </ds:Transforms>
          <ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
          <ds:DigestValue>ftoSYFdze1AWgGHF5N9i9SFKThXkqH2AdyzA3/epbJw=</ds:DigestValue>
        </ds:Reference>
      </ds:SignedInfo>
      <ds:SignatureValue>ftoSYFdze1AWgGHF5N9i9SFKThXkqH2AdyzA3/epbJw=</ds:SignatureValue>
    </ds:Signature>
  </foo:Foo>
</baz:Baz>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
xmldsig-0.7.0 spec/fixtures/unsigned_nested_signed_signature.xml
xmldsig-0.6.6 spec/fixtures/unsigned_nested_signed_signature.xml
xmldsig-0.6.5 spec/fixtures/unsigned_nested_signed_signature.xml
xmldsig-0.6.4 spec/fixtures/unsigned_nested_signed_signature.xml
xmldsig-0.6.3 spec/fixtures/unsigned_nested_signed_signature.xml
xmldsig-0.6.2 spec/fixtures/unsigned_nested_signed_signature.xml
xmldsig-0.6.1 spec/fixtures/unsigned_nested_signed_signature.xml
xmldsig-0.5.1 spec/fixtures/unsigned_nested_signed_signature.xml
xmldsig-0.5.0 spec/fixtures/unsigned_nested_signed_signature.xml
xmldsig-0.4.1 spec/fixtures/unsigned_nested_signed_signature.xml
xmldsig-0.4.0 spec/fixtures/unsigned_nested_signed_signature.xml