<?xml version="1.0" encoding="UTF-8"?>
<EntityDescriptor xmlns="urn:oasis:names:tc:SAML:2.0:metadata" entityID="https://idp.st-andrews.ac.uk/shibboleth">
  <!--
		This is a Shibboleth IdP for the University of St Andrews.
	-->
  <Extensions>
    <mdrpi:RegistrationInfo xmlns:mdrpi="urn:oasis:names:tc:SAML:metadata:rpi" registrationAuthority="http://ukfederation.org.uk" registrationInstant="2008-01-16T14:59:00Z">
      <mdrpi:RegistrationPolicy xml:lang="en">http://ukfederation.org.uk/doc/mdrps-20130902</mdrpi:RegistrationPolicy>
    </mdrpi:RegistrationInfo>
  </Extensions>
  <IDPSSODescriptor protocolSupportEnumeration="urn:mace:shibboleth:1.0 urn:oasis:names:tc:SAML:1.1:protocol urn:oasis:names:tc:SAML:2.0:protocol">
    <Extensions>
      <shibmd:Scope xmlns:shibmd="urn:mace:shibboleth:metadata:1.0" regexp="false">st-andrews.ac.uk</shibmd:Scope>
    </Extensions>
    <KeyDescriptor>
      <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
        <ds:X509Data>
          <ds:X509Certificate>
						MIIFTDCCBDSgAwIBAgICEKgwDQYJKoZIhvcNAQEFBQAwgbsxCzAJBgNVBAYTAlVL
						MQ0wCwYDVQQIEwRGaWZlMRMwEQYDVQQHEwpTdCBBbmRyZXdzMSEwHwYDVQQKExhV
						bml2ZXJzaXR5IG9mIFN0IEFuZHJld3MxFjAUBgNVBAsTDUkuVC4gU2VydmljZXMx
						IzAhBgNVBAMTGk1hc3RlciBTaWduaW5nIENlcnRpZmljYXRlMSgwJgYJKoZIhvcN
						AQkBFhloZWxwZGVza0BzdC1hbmRyZXdzLmFjLnVrMB4XDTE0MDUyODEwMjI0OVoX
						DTM0MDUyMzEwMjI0OVowgYsxCzAJBgNVBAYTAkdCMQ0wCwYDVQQIEwRGaWZlMRMw
						EQYDVQQHEwpTdCBBbmRyZXdzMSEwHwYDVQQKExhVbml2ZXJzaXR5IG9mIFN0IEFu
						ZHJld3MxFDASBgNVBAsTC0lUIFNlcnZpY2VzMR8wHQYDVQQDExZsb2dpbi5zdC1h
						bmRyZXdzLmFjLnVrMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtrVW
						AoC2c9E11GatKp3M8sFYhgsnPX1rdZ8bToP6y9uzQlKn7CSbzgY/MFTT1ol/dIpw
						QFXqGBdNomQtaE3S2v81k30E2/nR294xEeT/PjP9GcPxYJjBq/ngoTzmBC6TJtsj
						DWYWQEPUoMhgQ1Rqlhm2+rEJWY/AbdzZWjZiCS1P6W6uxw9/lPLLSAkSQSLGiavu
						uyRmogqgH/HOzVFlF/DwKFZJDZ/bWGv1WHc6rii8nl8K9I1zZoM0sIPBnfrdWZzN
						SAhX9zMSv1EXTJ0VFD3nrElU/Xx8WO4ZosnDwL7R+w6TZ1b+yOmc/A4ZsKQECxd/
						LYcLPfbhgK2hhrApPQIDAQABo4IBhjCCAYIwCQYDVR0TBAIwADAsBglghkgBhvhC
						AQ0EHxYdT3BlblNTTCBHZW5lcmF0ZWQgQ2VydGlmaWNhdGUwHQYDVR0OBBYEFIKd
						mF6wLnFmysL7I3lf1Z5UI+KIMIHwBgNVHSMEgegwgeWAFEVZKa2Kkeq6fIItSmOm
						9juqqJOToYHBpIG+MIG7MQswCQYDVQQGEwJVSzENMAsGA1UECBMERmlmZTETMBEG
						A1UEBxMKU3QgQW5kcmV3czEhMB8GA1UEChMYVW5pdmVyc2l0eSBvZiBTdCBBbmRy
						ZXdzMRYwFAYDVQQLEw1JLlQuIFNlcnZpY2VzMSMwIQYDVQQDExpNYXN0ZXIgU2ln
						bmluZyBDZXJ0aWZpY2F0ZTEoMCYGCSqGSIb3DQEJARYZaGVscGRlc2tAc3QtYW5k
						cmV3cy5hYy51a4IJALjpP8s3OebbMDUGCWCGSAGG+EIBBAQoFiZodHRwOi8vd3d3
						LnN0LWFuZHJld3MuYWMudWsvY2EtY3JsLnBlbTANBgkqhkiG9w0BAQUFAAOCAQEA
						j9HmQMvf9ZWP0RSRvxvPG9esUh/D3QpsVw4Q0NmH0iH3CO+KEAuskwRi4Oy0P7kG
						gYIdgRp9upn2lqn70mNU6B040YG7gB8cCckNFcTguwBjgiwahzXuF8xbpHCbDQRh
						/Npkb4niRx8bk0HrR4qH0E9xNNcts0mIwwvPZeSyfgh28y2b5lE1O7pr417xevjN
						px1V63hOos/k1jZwLjGX7mf4uNqY2X27muoWxncx5bdljRrI+7KueS6vIaGvvy+O
						ahQL5K+/ebdMh89ffv7SK9aDp/RPJu77ggTRXK0+fKkoy9JJYX/mh99r5cClGhGs
						3nwOT+n5Ge0J+NSey+6Otg==
					</ds:X509Certificate>
        </ds:X509Data>
      </ds:KeyInfo>
    </KeyDescriptor>
    <ArtifactResolutionService Binding="urn:oasis:names:tc:SAML:1.0:bindings:SOAP-binding" Location="https://login.st-andrews.ac.uk:8443/idp/profile/SAML1/SOAP/ArtifactResolution" index="1"/>
    <ArtifactResolutionService Binding="urn:oasis:names:tc:SAML:2.0:bindings:SOAP" Location="https://login.st-andrews.ac.uk:8443/idp/profile/SAML2/SOAP/ArtifactResolution" index="2"/>
    <NameIDFormat>urn:mace:shibboleth:1.0:nameIdentifier</NameIDFormat>
    <NameIDFormat>urn:oasis:names:tc:SAML:2.0:nameid-format:transient</NameIDFormat>
    <SingleSignOnService Binding="urn:mace:shibboleth:1.0:profiles:AuthnRequest" Location="https://login.st-andrews.ac.uk/idp/profile/Shibboleth/SSO"/>
    <SingleSignOnService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="https://login.st-andrews.ac.uk/idp/profile/SAML2/POST/SSO"/>
    <SingleSignOnService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST-SimpleSign" Location="https://login.st-andrews.ac.uk/idp/profile/SAML2/POST-SimpleSign/SSO"/>
    <SingleSignOnService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="https://login.st-andrews.ac.uk/idp/profile/SAML2/Redirect/SSO"/>
  </IDPSSODescriptor>
  <AttributeAuthorityDescriptor protocolSupportEnumeration="urn:oasis:names:tc:SAML:1.1:protocol urn:oasis:names:tc:SAML:2.0:protocol">
    <Extensions>
      <shibmd:Scope xmlns:shibmd="urn:mace:shibboleth:metadata:1.0" regexp="false">st-andrews.ac.uk</shibmd:Scope>
    </Extensions>
    <KeyDescriptor>
      <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
        <ds:X509Data>
          <ds:X509Certificate>
						MIIFTDCCBDSgAwIBAgICEKgwDQYJKoZIhvcNAQEFBQAwgbsxCzAJBgNVBAYTAlVL
						MQ0wCwYDVQQIEwRGaWZlMRMwEQYDVQQHEwpTdCBBbmRyZXdzMSEwHwYDVQQKExhV
						bml2ZXJzaXR5IG9mIFN0IEFuZHJld3MxFjAUBgNVBAsTDUkuVC4gU2VydmljZXMx
						IzAhBgNVBAMTGk1hc3RlciBTaWduaW5nIENlcnRpZmljYXRlMSgwJgYJKoZIhvcN
						AQkBFhloZWxwZGVza0BzdC1hbmRyZXdzLmFjLnVrMB4XDTE0MDUyODEwMjI0OVoX
						DTM0MDUyMzEwMjI0OVowgYsxCzAJBgNVBAYTAkdCMQ0wCwYDVQQIEwRGaWZlMRMw
						EQYDVQQHEwpTdCBBbmRyZXdzMSEwHwYDVQQKExhVbml2ZXJzaXR5IG9mIFN0IEFu
						ZHJld3MxFDASBgNVBAsTC0lUIFNlcnZpY2VzMR8wHQYDVQQDExZsb2dpbi5zdC1h
						bmRyZXdzLmFjLnVrMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtrVW
						AoC2c9E11GatKp3M8sFYhgsnPX1rdZ8bToP6y9uzQlKn7CSbzgY/MFTT1ol/dIpw
						QFXqGBdNomQtaE3S2v81k30E2/nR294xEeT/PjP9GcPxYJjBq/ngoTzmBC6TJtsj
						DWYWQEPUoMhgQ1Rqlhm2+rEJWY/AbdzZWjZiCS1P6W6uxw9/lPLLSAkSQSLGiavu
						uyRmogqgH/HOzVFlF/DwKFZJDZ/bWGv1WHc6rii8nl8K9I1zZoM0sIPBnfrdWZzN
						SAhX9zMSv1EXTJ0VFD3nrElU/Xx8WO4ZosnDwL7R+w6TZ1b+yOmc/A4ZsKQECxd/
						LYcLPfbhgK2hhrApPQIDAQABo4IBhjCCAYIwCQYDVR0TBAIwADAsBglghkgBhvhC
						AQ0EHxYdT3BlblNTTCBHZW5lcmF0ZWQgQ2VydGlmaWNhdGUwHQYDVR0OBBYEFIKd
						mF6wLnFmysL7I3lf1Z5UI+KIMIHwBgNVHSMEgegwgeWAFEVZKa2Kkeq6fIItSmOm
						9juqqJOToYHBpIG+MIG7MQswCQYDVQQGEwJVSzENMAsGA1UECBMERmlmZTETMBEG
						A1UEBxMKU3QgQW5kcmV3czEhMB8GA1UEChMYVW5pdmVyc2l0eSBvZiBTdCBBbmRy
						ZXdzMRYwFAYDVQQLEw1JLlQuIFNlcnZpY2VzMSMwIQYDVQQDExpNYXN0ZXIgU2ln
						bmluZyBDZXJ0aWZpY2F0ZTEoMCYGCSqGSIb3DQEJARYZaGVscGRlc2tAc3QtYW5k
						cmV3cy5hYy51a4IJALjpP8s3OebbMDUGCWCGSAGG+EIBBAQoFiZodHRwOi8vd3d3
						LnN0LWFuZHJld3MuYWMudWsvY2EtY3JsLnBlbTANBgkqhkiG9w0BAQUFAAOCAQEA
						j9HmQMvf9ZWP0RSRvxvPG9esUh/D3QpsVw4Q0NmH0iH3CO+KEAuskwRi4Oy0P7kG
						gYIdgRp9upn2lqn70mNU6B040YG7gB8cCckNFcTguwBjgiwahzXuF8xbpHCbDQRh
						/Npkb4niRx8bk0HrR4qH0E9xNNcts0mIwwvPZeSyfgh28y2b5lE1O7pr417xevjN
						px1V63hOos/k1jZwLjGX7mf4uNqY2X27muoWxncx5bdljRrI+7KueS6vIaGvvy+O
						ahQL5K+/ebdMh89ffv7SK9aDp/RPJu77ggTRXK0+fKkoy9JJYX/mh99r5cClGhGs
						3nwOT+n5Ge0J+NSey+6Otg==
					</ds:X509Certificate>
        </ds:X509Data>
      </ds:KeyInfo>
    </KeyDescriptor>
    <AttributeService Binding="urn:oasis:names:tc:SAML:1.0:bindings:SOAP-binding" Location="https://login.st-andrews.ac.uk:8443/idp/profile/SAML1/SOAP/AttributeQuery"/>
    <AttributeService Binding="urn:oasis:names:tc:SAML:2.0:bindings:SOAP" Location="https://login.st-andrews.ac.uk:8443/idp/profile/SAML2/SOAP/AttributeQuery"/>
    <NameIDFormat>urn:mace:shibboleth:1.0:nameIdentifier</NameIDFormat>
    <NameIDFormat>urn:oasis:names:tc:SAML:2.0:nameid-format:transient</NameIDFormat>
  </AttributeAuthorityDescriptor>
  <Organization>
    <OrganizationName xml:lang="en">University of St Andrews</OrganizationName>
    <OrganizationDisplayName xml:lang="en">University of St Andrews</OrganizationDisplayName>
    <OrganizationURL xml:lang="en">http://www.st-andrews.ac.uk/</OrganizationURL>
  </Organization>
  <ContactPerson contactType="support">
    <GivenName>Duncan</GivenName>
    <SurName>Brannen</SurName>
    <EmailAddress>mailto:dbb@st-andrews.ac.uk</EmailAddress>
  </ContactPerson>
  <ContactPerson contactType="technical">
    <GivenName>Duncan</GivenName>
    <SurName>Brannen</SurName>
    <EmailAddress>mailto:dbb@st-andrews.ac.uk</EmailAddress>
  </ContactPerson>
</EntityDescriptor>