summaryrefslogtreecommitdiff
path: root/tests/xmldsig2ed-tests/xpointer-1-SUN.xml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/xmldsig2ed-tests/xpointer-1-SUN.xml')
-rw-r--r--tests/xmldsig2ed-tests/xpointer-1-SUN.xml21
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/xmldsig2ed-tests/xpointer-1-SUN.xml b/tests/xmldsig2ed-tests/xpointer-1-SUN.xml
new file mode 100644
index 00000000..2b07faa4
--- /dev/null
+++ b/tests/xmldsig2ed-tests/xpointer-1-SUN.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?><ietf:c14n11XmlPointerDoc1 xmlns:ietf="http://www.ietf.org" xmlns:w3c="http://www.w3.org">
+ <!-- This is a xml document for checking behaviour of tools with regards to comments when using scheme-based xpointers in the ds:Reference's URI attribute -->
+ <ietf:e1 xml:id="e1ID">
+ <!-- This is a comment for ietf:e1 element -->
+ <ietf:e11>
+ <!-- This is a comment for ietf:e11 element -->
+ <ietf:e111/>
+ </ietf:e11>
+ <ietf:e12 at="2">
+ <!-- This is a comment for ietf:e12 element -->
+ <ietf:e121/>
+ </ietf:e12>
+ </ietf:e1>
+ <ietf:e2 xml:id="e2ID">
+ <!-- This is a comment for ietf:e2 element -->
+ <ietf:e21/>
+ </ietf:e2>
+ <ietf:e3 xml:id="e3ID">
+ <ietf:e31 at="3"/>
+ </ietf:e3>
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/2006/12/xml-c14n11"/><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#hmac-sha1"/><Reference URI="#xpointer(/)"><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/><Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11#WithComments"/></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><DigestValue>/IZyGLL72rXhisXRkB617TxJrL8=</DigestValue></Reference></SignedInfo><SignatureValue>E4gxKwllVjvvlUQFe9p/ssO7Yxw=</SignatureValue></Signature></ietf:c14n11XmlPointerDoc1> \ No newline at end of file