Alter trust engine test to leverage KeyInfoReference.
[shibboleth/cpp-opensaml.git] / samltest / data / security / example-metadata.xml
1 <EntitiesDescriptor
2         xmlns="urn:oasis:names:tc:SAML:2.0:metadata"
3         xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
4     xmlns:ds11="http://www.w3.org/2009/xmldsig11#">
5
6 <EntityDescriptor 
7         entityID="https://idp.example.org">
8         
9         <IDPSSODescriptor protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol">
10                 <KeyDescriptor use="signing">
11                     <ds:KeyInfo Id="examplekey">
12                         <ds:KeyName>sp.example.org</ds:KeyName>
13                         <ds:X509Data>
14                                 <ds:X509Certificate>
15                                         MIICjzCCAfigAwIBAgIJAKk8t1hYcMkhMA0GCSqGSIb3DQEBBAUAMDoxCzAJBgNV
16                                         BAYTAlVTMRIwEAYDVQQKEwlJbnRlcm5ldDIxFzAVBgNVBAMTDnNwLmV4YW1wbGUu
17                                         b3JnMB4XDTA1MDYyMDE1NDgzNFoXDTMyMTEwNTE1NDgzNFowOjELMAkGA1UEBhMC
18                                         VVMxEjAQBgNVBAoTCUludGVybmV0MjEXMBUGA1UEAxMOc3AuZXhhbXBsZS5vcmcw
19                                         gZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBANlZ1L1mKzYbUVKiMQLhZlfGDyYa
20                                         /jjCiaXP0WhLNgvJpOTeajvsrApYNnFX5MLNzuC3NeQIjXUNLN2Yo2MCSthBIOL5
21                                         qE5dka4z9W9zytoflW1LmJ8vXpx8Ay/meG4z//J5iCpYVEquA0xl28HUIlownZUF
22                                         7w7bx0cF/02qrR23AgMBAAGjgZwwgZkwHQYDVR0OBBYEFJZiO1qsyAyc3HwMlL9p
23                                         JpN6fbGwMGoGA1UdIwRjMGGAFJZiO1qsyAyc3HwMlL9pJpN6fbGwoT6kPDA6MQsw
24                                         CQYDVQQGEwJVUzESMBAGA1UEChMJSW50ZXJuZXQyMRcwFQYDVQQDEw5zcC5leGFt
25                                         cGxlLm9yZ4IJAKk8t1hYcMkhMAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQEEBQAD
26                                         gYEAMFq/UeSQyngE0GpZueyD2UW0M358uhseYOgGEIfm+qXIFQF6MYwNoX7WFzhC
27                                         LJZ2E6mEvZZFHCHUtl7mGDvsRwgZ85YCtRbvleEpqfgNQToto9pLYe+X6vvH9Z6p
28                                         gmYsTmak+kxO93JprrOd9xp8aZPMEprL7VCdrhbZEfyYER0=
29                                 </ds:X509Certificate>
30                         </ds:X509Data>
31                     </ds:KeyInfo>
32                 </KeyDescriptor>
33
34                 <SingleSignOnService Binding="foo" Location="foo"/>
35         </IDPSSODescriptor>
36
37 </EntityDescriptor>
38
39 <EntityDescriptor 
40         entityID="https://idp2.example.org">
41         
42         <IDPSSODescriptor protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol">
43                 <KeyDescriptor use="signing">
44                         <ds:KeyInfo>
45                                 <ds:KeyName>sp2.example.org</ds:KeyName>
46                         </ds:KeyInfo>
47                 </KeyDescriptor>
48                 
49                 <SingleSignOnService Binding="foo" Location="foo"/>
50         </IDPSSODescriptor>
51         
52 </EntityDescriptor>
53
54 <EntityDescriptor 
55     entityID="https://idp3.example.org">
56     
57     <IDPSSODescriptor protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol">
58         <KeyDescriptor use="signing">
59             <ds:KeyInfo>
60                 <ds11:KeyInfoReference URI="#examplekey"/>
61             </ds:KeyInfo>
62         </KeyDescriptor>
63         
64         <SingleSignOnService Binding="foo" Location="foo"/>
65     </IDPSSODescriptor>
66     
67 </EntityDescriptor>
68
69 </EntitiesDescriptor>