0N/A<?xml version="1.0" encoding="UTF-8"?>
0N/A<!DOCTYPE Envelope [
0N/A <!ENTITY dsig 'http://www.w3.org/2000/09/xmldsig#'>
0N/A <!ENTITY c14n 'http://www.w3.org/TR/2001/REC-xml-c14n-20010315'>
0N/A <!ENTITY xpath 'http://www.w3.org/TR/1999/REC-xpath-19991116'>
0N/A <!ENTITY xslt 'http://www.w3.org/TR/1999/REC-xslt-19991116'>
0N/A <!ATTLIST Notaries Id ID #IMPLIED>
0N/A]>
0N/A<!-- Preamble -->
0N/A<Envelope xmlns:foo="http://example.org/foo" xmlns="http://example.org/usps">
0N/A <DearSir>foo</DearSir>
0N/A <Body>bar</Body>
0N/A <YoursSincerely>
0N/A <Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="signature">
0N/A <SignedInfo>
0N/A <CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" />
0N/A <SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#dsa-sha1" />
0N/A <Reference URI="http://www.w3.org/TR/xml-stylesheet">
0N/A <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
0N/A <DigestValue>60NvZvtdTB+7UnlLp/H24p7h4bs=</DigestValue>
0N/A </Reference>
0N/A <Reference URI="http://www.w3.org/Signature/2002/04/xml-stylesheet.b64">
0N/A <Transforms>
0N/A <Transform Algorithm="http://www.w3.org/2000/09/xmldsig#base64" />
0N/A </Transforms>
0N/A <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
0N/A <DigestValue>60NvZvtdTB+7UnlLp/H24p7h4bs=</DigestValue>
0N/A </Reference>
0N/A <Reference Type="http://www.w3.org/2000/09/xmldsig#Object" URI="#object-1">
0N/A <Transforms>
0N/A <Transform Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116">
0N/A <XPath>
0N/A self::text()
0N/A </XPath>
0N/A </Transform>
0N/A </Transforms>
0N/A <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
0N/A <DigestValue>zyjp8GJOX69990Kkqw8ioPXGExk=</DigestValue>
0N/A </Reference>
0N/A <Reference Type="http://www.w3.org/2000/09/xmldsig#Object" URI="">
0N/A <Transforms>
0N/A <Transform Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116">
0N/A <XPath xmlns:dsig="http://www.w3.org/2000/09/xmldsig#">
0N/A ancestor-or-self::dsig:SignedInfo
0N/A and
0N/A count(ancestor-or-self::dsig:Reference |
0N/A here()/ancestor::dsig:Reference[1]) &gt;
0N/A count(ancestor-or-self::dsig:Reference)
0N/A or
0N/A count(ancestor-or-self::node() |
0N/A id('notaries')) =
0N/A count(ancestor-or-self::node())
0N/A </XPath>
0N/A </Transform>
0N/A </Transforms>
0N/A <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
0N/A <DigestValue>tQiE3GUKiBenPyp3J0Ei6rJMFv4=</DigestValue>
0N/A </Reference>
0N/A <Reference Type="http://www.w3.org/2000/09/xmldsig#Object" URI="#object-2">
0N/A <Transforms>
0N/A <Transform Algorithm="http://www.w3.org/2000/09/xmldsig#base64" />
0N/A </Transforms>
0N/A <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
0N/A <DigestValue>zyjp8GJOX69990Kkqw8ioPXGExk=</DigestValue>
0N/A </Reference>
0N/A <Reference Type="http://www.w3.org/2000/09/xmldsig#Manifest" URI="#manifest-1">
0N/A <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
0N/A <DigestValue>qg4HFwsN+/WX32uH85WlJU9l45k=</DigestValue>
0N/A </Reference>
0N/A <Reference Type="http://www.w3.org/2000/09/xmldsig#SignatureProperties" URI="#signature-properties-1">
0N/A <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
0N/A <DigestValue>ETlEI3y7hvvAtMe9wQSz7LhbHEE=</DigestValue>
0N/A </Reference>
0N/A <Reference URI="">
0N/A <Transforms>
0N/A <Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" />
0N/A </Transforms>
0N/A <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
0N/A <DigestValue>J/O0HhdaPXxx49fgGWMESL09GpA=</DigestValue>
0N/A </Reference>
0N/A <Reference URI="">
0N/A <Transforms>
0N/A <Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" />
0N/A <Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments" />
0N/A </Transforms>
0N/A <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
0N/A <DigestValue>J/O0HhdaPXxx49fgGWMESL09GpA=</DigestValue>
0N/A </Reference>
0N/A <Reference URI="#xpointer(/)">
0N/A <Transforms>
0N/A <Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" />
0N/A </Transforms>
0N/A <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
0N/A <DigestValue>J/O0HhdaPXxx49fgGWMESL09GpA=</DigestValue>
0N/A </Reference>
0N/A <Reference URI="#xpointer(/)">
0N/A <Transforms>
0N/A <Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" />
0N/A <Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments" />
0N/A </Transforms>
0N/A <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
0N/A <DigestValue>MkL9CX8yeABBth1RChyPx58Ls8w=</DigestValue>
0N/A </Reference>
0N/A <Reference Type="http://www.w3.org/2000/09/xmldsig#Object" URI="#object-3">
0N/A <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
0N/A <DigestValue>yamSIokKmjA3hB/s3Fu07wDO3vM=</DigestValue>
0N/A </Reference>
0N/A <Reference Type="http://www.w3.org/2000/09/xmldsig#Object" URI="#object-3">
0N/A <Transforms>
0N/A <Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments" />
0N/A </Transforms>
0N/A <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
0N/A <DigestValue>yamSIokKmjA3hB/s3Fu07wDO3vM=</DigestValue>
0N/A </Reference>
0N/A <Reference Type="http://www.w3.org/2000/09/xmldsig#Object" URI="#xpointer(id('object-3'))">
0N/A <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
0N/A <DigestValue>yamSIokKmjA3hB/s3Fu07wDO3vM=</DigestValue>
0N/A </Reference>
0N/A <Reference Type="http://www.w3.org/2000/09/xmldsig#Object" URI="#xpointer(id('object-3'))">
0N/A <Transforms>
0N/A <Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments" />
0N/A </Transforms>
0N/A <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
0N/A <DigestValue>419CYgyTWOTGYGBhzieWklNf7Bk=</DigestValue>
0N/A </Reference>
0N/A <Reference URI="#reference-2">
0N/A <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
0N/A <DigestValue>VzK45P9Ksjqq5oXlKQpkGgB2CNY=</DigestValue>
0N/A </Reference>
0N/A <Reference Id="reference-1" URI="#manifest-reference-1">
0N/A <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
0N/A <DigestValue>7/9fR+NIDz9owc1Lfsxu1JBr8uo=</DigestValue>
0N/A </Reference>
0N/A <Reference Id="reference-2" URI="#reference-1">
0N/A <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
0N/A <DigestValue>qURlo3LSq4TWQtygBZJ0iXQ9E14=</DigestValue>
0N/A </Reference>
0N/A </SignedInfo>
0N/A <SignatureValue>
0N/A WvZUJAJ/3QNqzQvwne2vvy7U5Pck8ZZ5UTa6pIwR7GE+PoGi6A1kyw==
0N/A </SignatureValue>
0N/A <KeyInfo>
0N/A <RetrievalMethod Type="http://www.w3.org/2000/09/xmldsig#X509Data" URI="#object-4">
0N/A <Transforms>
0N/A <Transform Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116">
0N/A <XPath xmlns:dsig="http://www.w3.org/2000/09/xmldsig#">
0N/A ancestor-or-self::dsig:X509Data
0N/A </XPath>
0N/A </Transform>
0N/A </Transforms>
0N/A </RetrievalMethod>
0N/A </KeyInfo>
0N/A <Object Id="object-1" MimeType="text/plain">I am the text.</Object>
0N/A <Object Encoding="http://www.w3.org/2000/09/xmldsig#base64" Id="object-2" MimeType="text/plain">SSBhbSB0aGUgdGV4dC4=</Object>
0N/A <Object Id="object-3">
0N/A <NonCommentandus xmlns=""><!-- Commentandum --></NonCommentandus>
0N/A </Object>
0N/A <Object>
0N/A <Manifest Id="manifest-1">
0N/A <Reference Id="manifest-reference-1" URI="http://www.w3.org/TR/xml-stylesheet">
0N/A <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
0N/A <DigestValue>60NvZvtdTB+7UnlLp/H24p7h4bs=</DigestValue>
0N/A </Reference>
0N/A <Reference URI="#reference-1">
0N/A <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
0N/A <DigestValue>qURlo3LSq4TWQtygBZJ0iXQ9E14=</DigestValue>
0N/A </Reference>
0N/A <Reference URI="#notaries">
0N/A <Transforms>
0N/A <Transform Algorithm="http://www.w3.org/TR/1999/REC-xslt-19991116">
0N/A <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/TR/xhtml1/strict" exclude-result-prefixes="foo" version="1.0">
0N/A <xsl:output encoding="UTF-8" indent="no" method="xml" />
0N/A <xsl:template match="/">
0N/A <html>
0N/A <head>
0N/A <title>Notaries</title>
0N/A </head>
0N/A <body>
0N/A <table>
0N/A <xsl:for-each select="Notaries/Notary">
0N/A <tr>
0N/A <th>
0N/A <xsl:value-of select="@name" />
0N/A </th>
0N/A </tr>
0N/A </xsl:for-each>
0N/A </table>
0N/A </body>
0N/A </html>
0N/A </xsl:template>
0N/A </xsl:stylesheet>
0N/A </Transform>
0N/A <Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" />
0N/A </Transforms>
0N/A <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
0N/A <DigestValue>c7wq5XKos6RqNVJyFy7/fl6+sAs=</DigestValue>
0N/A </Reference>
0N/A </Manifest>
0N/A </Object>
0N/A <Object>
0N/A <SignatureProperties Id="signature-properties-1">
0N/A <SignatureProperty Target="#signature">
0N/A <SignerAddress xmlns="urn:demo"><IP>192.168.21.138</IP></SignerAddress>
0N/A </SignatureProperty>
0N/A </SignatureProperties>
0N/A </Object>
0N/A <Object Id="object-4">
0N/A <X509Data>
0N/A <X509SubjectName>
0N/A CN=Merlin Hughes,OU=X/Secure,O=Baltimore Technologies Ltd.,ST=Dublin,C=IE
0N/A </X509SubjectName>
0N/A <X509IssuerSerial>
0N/A <X509IssuerName>
0N/A CN=Transient CA,OU=X/Secure,O=Baltimore Technologies Ltd.,ST=Dublin,C=IE
0N/A </X509IssuerName>
0N/A <X509SerialNumber>1017788370348</X509SerialNumber>
0N/A </X509IssuerSerial>
0N/A <X509Certificate>
0N/A MIIDUDCCAxCgAwIBAgIGAOz46g2sMAkGByqGSM44BAMwbjELMAkGA1UEBhMCSUUx
0N/A DzANBgNVBAgTBkR1YmxpbjEkMCIGA1UEChMbQmFsdGltb3JlIFRlY2hub2xvZ2ll
0N/A cyBMdGQuMREwDwYDVQQLEwhYL1NlY3VyZTEVMBMGA1UEAxMMVHJhbnNpZW50IENB
0N/A MB4XDTAyMDQwMjIyNTkzMFoXDTEyMDQwMjIxNTkyNVowbzELMAkGA1UEBhMCSUUx
0N/A DzANBgNVBAgTBkR1YmxpbjEkMCIGA1UEChMbQmFsdGltb3JlIFRlY2hub2xvZ2ll
0N/A cyBMdGQuMREwDwYDVQQLEwhYL1NlY3VyZTEWMBQGA1UEAxMNTWVybGluIEh1Z2hl
0N/A czCCAbcwggEsBgcqhkjOOAQBMIIBHwKBgQ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1UEBhMCSUUx
0N/A DzANBgNVBAgTBkR1YmxpbjEkMCIGA1UEChMbQmFsdGltb3JlIFRlY2hub2xvZ2ll
0N/A cyBMdGQuMREwDwYDVQQLEwhYL1NlY3VyZTEVMBMGA1UEAxMMVHJhbnNpZW50IENB
0N/A MIIBtzCCASwGByqGSM44BAEwggEfAoGBAN3jngL6pxMhaVvrk0oK3Y+2C42k5Kch
0N/A 3nChSKC7vEGTZBk0CNXIiEwR9JanyJHQh0ovH4lAtw06tyfRbCXn+GFbQxeyaVLx
0N/A 0zkKrau2YMeigvFsZM+q0AsTq+xdAKTmIvPcy0aHuDJAxnursdPlrcjk0KFSBjUw
0N/A w1BV61EDWy6xAhUAhDLcFK0GO/Hz1arxOOvsgM/VLyUCgYEAnnx7hbdWozGbtnFg
0N/A nbFnopfRl7XRacpkPJRGf5P2IUgVspEUSUoN6i1fDBfBg43zKt7dlEaQL7b5+JTZ
0N/A t3MhZNPosxsgxVuT7Ts/g5k7EnpdYv0a5hw5Bw29fjbGHfgM8d2rhd2Ui0xHbk0D
0N/A 451nhLxVWulviOSPhzKKvXrbySADgYQAAoGAfag+HCABIJadDD9Aarhgc2QR3Lp7
0N/A PpMOh0lAwLiIsvkO4UlbeOS0IJC8bcqLjM1fVw6FGSaxmq+4y1ag2m9k6IdE0Qh5
0N/A NxB/xFkmdwqXFRIJVp44OeUygB47YK76NmUIYG3DdfiPPU3bqzjvtOtETiCHvo25
0N/A 4D6UjwPpYErXRUajNjA0MA4GA1UdDwEB/wQEAwICBDAPBgNVHRMECDAGAQH/AgEA
0N/A MBEGA1UdDgQKBAiDhj5AdjLikzAJBgcqhkjOOAQDAy8AMCwCFELu0nuweqW7Wf0s
0N/A gk/CAGGL0BGKAhRNdgQGr5iyZKoH4oqPm0VJ9TjXLg==
0N/A </X509Certificate>
0N/A </X509Data>
0N/A </Object>
0N/A </Signature>
0N/A </YoursSincerely>
0N/A <PostScript>bar</PostScript>
0N/A <Notaries xmlns="" Id="notaries">
0N/A <Notary name="Great, A. T." />
0N/A <Notary name="Hun, A. T." />
0N/A </Notaries>
0N/A <!-- Commentary -->
0N/A</Envelope>
0N/A<!-- Postamble -->