J. Duke | 319a3b9 | 2007-12-01 00:00:00 +0000 | [diff] [blame^] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <Foo xmlns:bar="urn:bar" xmlns="urn:foo" xml:space="preserve"> |
| 3 | <dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"> |
| 4 | <dsig:SignedInfo> |
| 5 | <dsig:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /> |
| 6 | <dsig:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#dsa-sha1" /> |
| 7 | <dsig:Reference URI="#xpointer(id('to-be-signed'))"> |
| 8 | <dsig:Transforms> |
| 9 | <dsig:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /> |
| 10 | </dsig:Transforms> |
| 11 | <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /> |
| 12 | <dsig:DigestValue>7yOTjUu+9oEhShgyIIXDLjQ08aY=</dsig:DigestValue> |
| 13 | </dsig:Reference> |
| 14 | <dsig:Reference URI="#xpointer(id('to-be-signed'))"> |
| 15 | <dsig:Transforms> |
| 16 | <dsig:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"> |
| 17 | <InclusiveNamespaces xmlns="http://www.w3.org/2001/10/xml-exc-c14n#" PrefixList="bar #default" /> |
| 18 | </dsig:Transform> |
| 19 | </dsig:Transforms> |
| 20 | <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /> |
| 21 | <dsig:DigestValue>09xMy0RTQM1Q91demYe/0F6AGXo=</dsig:DigestValue> |
| 22 | </dsig:Reference> |
| 23 | <dsig:Reference URI="#xpointer(id('to-be-signed'))"> |
| 24 | <dsig:Transforms> |
| 25 | <dsig:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#WithComments" /> |
| 26 | </dsig:Transforms> |
| 27 | <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /> |
| 28 | <dsig:DigestValue>ZQH+SkCN8c5y0feAr+aRTZDwyvY=</dsig:DigestValue> |
| 29 | </dsig:Reference> |
| 30 | <dsig:Reference URI="#xpointer(id('to-be-signed'))"> |
| 31 | <dsig:Transforms> |
| 32 | <dsig:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#WithComments"> |
| 33 | <InclusiveNamespaces xmlns="http://www.w3.org/2001/10/xml-exc-c14n#" PrefixList="bar #default" /> |
| 34 | </dsig:Transform> |
| 35 | </dsig:Transforms> |
| 36 | <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /> |
| 37 | <dsig:DigestValue>a1cTqBgbqpUt6bMJN4C6zFtnoyo=</dsig:DigestValue> |
| 38 | </dsig:Reference> |
| 39 | </dsig:SignedInfo> |
| 40 | <dsig:SignatureValue> |
| 41 | Kv1e7Kjhz4gFtOZKgvC5cLYtMQNIn99fyLBa6D//bBokTxTUEkMwaA== |
| 42 | </dsig:SignatureValue> |
| 43 | <dsig:KeyInfo> |
| 44 | <dsig:KeyValue> |
| 45 | <dsig:DSAKeyValue> |
| 46 | <dsig:P> |
| 47 | 8FkJgwdyizV5Vd0m6DA/DZsdweJdnkueYVUd7L8aA4JpZxrlCI/M7mDE/OGhEhgB |
| 48 | nFzSTrBjSFpT7DG66uy7oJeE+RgkXO7EWWOEglMPwaZgGgi1oZarv95VOx3uO8W8 |
| 49 | L7+S/3AuHNUZQD4b5bpdYAmjXFwz6dl0mKiXAvVuP9E= |
| 50 | </dsig:P> |
| 51 | <dsig:Q> |
| 52 | mFf8DiMVNFXy0vag9oNGNW/g4u0= |
| 53 | </dsig:Q> |
| 54 | <dsig:G> |
| 55 | g8gRdNlq9EOTR2TjmVApqCAZAq3jEjOIxXbs8JBiZ+U7dV9geeXEy13GbYoP23Qr |
| 56 | apZQo+35diw+cMYPHjN+iUCwUkiGWv7/piAK+Ootfw03etL8XiVWjtL5NBof2CNp |
| 57 | wmAw7mrwmNG092y1e6HXSGMMZpaoth/P8xhsxCQsqI8= |
| 58 | </dsig:G> |
| 59 | <dsig:Y> |
| 60 | j0V14dc/I+okDAeG4ZbWUzb3HTFkEOC6feOMo5Dk218GcPqEKroVHaDBF9CmRV1v |
| 61 | B8MUOExB+6ZNHfcs5Vaw0HVn62YiEBzrmKikx6SxO4Dg9L8I5WbHn37vxUKvHs8r |
| 62 | 7+rma3kpZQftTMiBpJ8XK8Z6jg8VhuJqo9yZZO+p3I0= |
| 63 | </dsig:Y> |
| 64 | </dsig:DSAKeyValue> |
| 65 | </dsig:KeyValue> |
| 66 | </dsig:KeyInfo> |
| 67 | <dsig:Object Id="to-be-signed"> |
| 68 | <bar:Baz> |
| 69 | <!-- comment --> |
| 70 | </bar:Baz> |
| 71 | </dsig:Object> |
| 72 | </dsig:Signature> |
| 73 | </Foo> |