source: TI12-security/trunk/python/ndg.security.test/ndg/security/test/xmlsec/etree/test-incl-c14n-signed.xml @ 4069

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/python/ndg.security.test/ndg/security/test/xmlsec/etree/test-incl-c14n-signed.xml@4069
Revision 4069, 2.8 KB checked in by pjkersha, 11 years ago (diff)

Added unit tests for exclusive C14N for ElementTree based XMLSec code.

Line 
1<saml:Assertion xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:ec="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" xmlns:saml="urn:oasis:names:tc:SAML:1.0:assertion" Issuer="http://badc.nerc.ac.uk" MajorVersion="1" MinorVersion="1">
2    <saml:Conditions NotAfter="y" NotBefore="x"></saml:Conditions>
3    <saml:AuthenticationStatement AuthenticationInstant="..." AuthenticationMethod="...">
4        <saml:Subject></saml:Subject>
5    </saml:AuthenticationStatement>
6    <saml:AttributeStatement>
7        <saml:Subject></saml:Subject>
8        <saml:Attribute AttributeName="urn:mace:dir:attribute-def:eduPersonAffiliation" AttributeNamespace="urn:mace:shibboleth:1.0:attributeNamespace:uri">
9            <saml:AttributeValue>member</saml:AttributeValue>
10            <saml:AttributeValue>student</saml:AttributeValue>
11        </saml:Attribute>
12    </saml:AttributeStatement>
13<ds:Signature><ds:SignedInfo><ds:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"></ds:CanonicalizationMethod><ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></ds:SignatureMethod><ds:Reference URI=""><ds:Transforms><ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"></ds:Transform><ds:Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"></ds:Transform></ds:Transforms><ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod><ds:DigestValue>GZG/o/5MoGs2o9ilKiLOGwvqVEU=</ds:DigestValue></ds:Reference></ds:SignedInfo><ds:SignatureValue>NZ8aKOH/CPwa7jZ2PoL2JnLMfAtVWQjkAYg1TLT52QrnHY64JlV8TgIu5vhNQ+fEfObxhoKlBOho
14qn8g8Vs/nX4et0KQdQPM0y5AexHQzx+lq9DJEqXzuIHZf5jSQTjhcajfz59IEArnCaAzfjlJoDpX
15x6Ug0QQDJv+2cnju73EyGiGKOyug3g5uSwt5hNVh0+RvYyWDF66nl4tD5lncagkiShDBDxoS27SH
16sMAGr3iQSWNpzQ319FrNhB3QvYS6HeI4dqdQXZMCpNypfh9ffp64KLlKyBWFs8n+F5vNqynxcg2v
17fRuVNA/R7sNsHPiY7Y+F3/iVPUY8N4FYdb5ohw==</ds:SignatureValue><ds:KeyInfo><ds:X509Data><ds:X509Certificate>MIICazCCAdSgAwIBAgICAPcwDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRHMQ0wCwYDVQQL
18EwRCQURDMRAwDgYDVQQDEwdUZXN0IENBMB4XDTA4MDEwNDEwMTk0N1oXDTA5MDEwMzEwMTk0N1ow
19LDEMMAoGA1UEChMDTkRHMQ0wCwYDVQQLEwRCQURDMQ0wCwYDVQQDEwR0ZXN0MIIBIjANBgkqhkiG
209w0BAQEFAAOCAQ8AMIIBCgKCAQEArpbuNUHWVRwhjHzhTOdym+fcZdmD7HbaeoFdef2V//Wj41xM
21ieMZy9XQft2dFBDYZIHLElojVhZTHoowMkwXxsmLt7hZF8fL7j3ssU/lflM9E0Uk2dZxaAt97zXE
22ruEHJoNqHTEQlH0qMALfuUrAaZEIXHDdTQDNRJl4oXvjJWaqS8Y5Je8QREThIE5hRd9FoUlgfMNN
23nwzLyIH7s0KBci2yryeubAG/Qig5LkulbpnhxYLCcLvs3THQ3kO5qYYbB0g11YOBgshZ0SpNwEEy
24hDzHUt3Ii2XmAh25/II08BR61fhMZvSJ/tVGJY4HfWG7B4PZzYwo5vn/tYH1mk7w5QIDAQABoxUw
25EzARBglghkgBhvhCAQEEBAMCBPAwDQYJKoZIhvcNAQEEBQADgYEAFKEdr2FwlposAGRDHBMX9d48
26TKm1gXzOMEvReTYIaq46aMpDDuApsbjpRqohvKIrngGa2e1p81tOTL5kbuusNjcNsagXkNgeO6qc
27GZCly/Bl9Kxfynaned5jmgWgoxJP7VtOynvlLqJfrS/cEwOWDYpyPjJDRx2cZgEd3P4WfYI=
28</ds:X509Certificate></ds:X509Data></ds:KeyInfo></ds:Signature></saml:Assertion>
Note: See TracBrowser for help on using the repository browser.