Sha256: 4933f8dc7ef71bc5d39761f624b6a66f1d74c2b97289814a4d09f030cece82cf

Contents?: true

Size: 1.07 KB

Versions: 2

Compression:

Stored size: 1.07 KB

Contents

<?xml version="1.0"?>
<!DOCTYPE test [
<!ATTLIST ToBeSigned Id ID #IMPLIED>
]>
<Document xmlns:xenc="http://www.example.org/xenc" xmlns:dsig="http://www.example.org/dsig">
  <ToBeSigned Id="foo">
    <Secrets>Test</Secrets>
  </ToBeSigned>
  <Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
    <SignedInfo>
      <CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/>
      <SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#hmac-sha1"/>
      <Reference URI="">
        <Transforms>
          <Transform Algorithm="http://www.w3.org/2001/04/xmldsig-more/xptr">
            <XPointer xmlns="http://www.w3.org/2001/04/xmldsig-more/xptr">
		    xpointer(id(&quot;foo&quot;))
	    </XPointer>
          </Transform>
        </Transforms>
        <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
        <DigestValue>faszbFrqwUNeZH5QrXPPobn+zso=</DigestValue>
      </Reference>
    </SignedInfo>
    <SignatureValue>BTB6iZWZjOIG0JjGjpYbihO3Igg=</SignatureValue>
    <Object Id="object">some text</Object>
  </Signature>
</Document>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
xmlsec-shim-1.2.18.2 vendor/xmlsec1-1.2.18/tests/aleksey-xmldsig-01/xpointer-hmac.xml
xmlsec-shim-1.2.18.1 vendor/xmlsec1-1.2.18/tests/aleksey-xmldsig-01/xpointer-hmac.xml