<?xml version="1.0" encoding="UTF-8"?>
<md:EntityDescriptor xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata" entityID="https://login-test.st-andrews.ac.uk/idp/shibboleth">
  <md:Extensions>
    <mdattr:EntityAttributes xmlns:mdattr="urn:oasis:names:tc:SAML:metadata:attribute">
      <saml:Attribute xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" Name="http://macedir.org/entity-category" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri">
        <saml:AttributeValue>http://refeds.org/category/hide-from-discovery</saml:AttributeValue>
      </saml:Attribute>
    </mdattr:EntityAttributes>
    <mdrpi:RegistrationInfo xmlns:mdrpi="urn:oasis:names:tc:SAML:metadata:rpi" registrationAuthority="http://ukfederation.org.uk" registrationInstant="2011-01-12T18:25:00Z">
      <mdrpi:RegistrationPolicy xml:lang="en">http://ukfederation.org.uk/doc/mdrps-20130902</mdrpi:RegistrationPolicy>
    </mdrpi:RegistrationInfo>
  </md:Extensions>
  <md:IDPSSODescriptor protocolSupportEnumeration="urn:mace:shibboleth:1.0 urn:oasis:names:tc:SAML:1.1:protocol urn:oasis:names:tc:SAML:2.0:protocol">
    <md:Extensions>
      <shibmd:Scope xmlns:shibmd="urn:mace:shibboleth:metadata:1.0" regexp="false">st-andrews.ac.uk</shibmd:Scope>
    </md:Extensions>
    <md:KeyDescriptor>
      <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
        <ds:X509Data>
          <ds:X509Certificate>
						MIIFUTCCBDmgAwIBAgICEKQwDQYJKoZIhvcNAQEFBQAwgbsxCzAJBgNVBAYTAlVL
						MQ0wCwYDVQQIEwRGaWZlMRMwEQYDVQQHEwpTdCBBbmRyZXdzMSEwHwYDVQQKExhV
						bml2ZXJzaXR5IG9mIFN0IEFuZHJld3MxFjAUBgNVBAsTDUkuVC4gU2VydmljZXMx
						IzAhBgNVBAMTGk1hc3RlciBTaWduaW5nIENlcnRpZmljYXRlMSgwJgYJKoZIhvcN
						AQkBFhloZWxwZGVza0BzdC1hbmRyZXdzLmFjLnVrMB4XDTEzMTIwNjEwNTYyMFoX
						DTMzMTIwMTEwNTYyMFowgZAxCzAJBgNVBAYTAkdCMQ0wCwYDVQQIEwRGaWZlMRMw
						EQYDVQQHEwpTdCBBbmRyZXdzMSEwHwYDVQQKExhVbml2ZXJzaXR5IG9mIFN0IEFu
						ZHJld3MxFDASBgNVBAsTC0lUIFNlcnZpY2VzMSQwIgYDVQQDExtsb2dpbi10ZXN0
						LnN0LWFuZHJld3MuYWMudWswggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIB
						AQC7cuS9mxZ5h3o5tZduDhluyOYa143mbMTZm1xzG/VZZmo56iqLsG9Rz4KNyV5i
						ejnvsSIaOf9L6OAJIlmp/grdKDQc3CU53jJGvRzfTUWLbgbCyEzzWPWjxF7ReFUK
						0Iy5ptAVa7JnxuBZSji1IXVROJUv+aaViIERDhlLp9QOtSHz3iW4IjQ5XJKEpJi/
						cWEqwWbhLWYg4mCL0U4GJ3WtKeHsNMaQNNKrNdBwoJTZCBzB6/z91q5wZX8xfnlJ
						BdU/msyzCWEg9khGD69v5H48Dm+JN8XevquX3M4Ymao9SdVr3zHIC/itEyvhGJ0g
						DZEWpwIr6j51JgqhbuYgNzKBAgMBAAGjggGGMIIBgjAJBgNVHRMEAjAAMCwGCWCG
						SAGG+EIBDQQfFh1PcGVuU1NMIEdlbmVyYXRlZCBDZXJ0aWZpY2F0ZTAdBgNVHQ4E
						FgQU7An8KIwCJZKUpSxs2PR8zEacU88wgfAGA1UdIwSB6DCB5YAURVkprYqR6rp8
						gi1KY6b2O6qok5OhgcGkgb4wgbsxCzAJBgNVBAYTAlVLMQ0wCwYDVQQIEwRGaWZl
						MRMwEQYDVQQHEwpTdCBBbmRyZXdzMSEwHwYDVQQKExhVbml2ZXJzaXR5IG9mIFN0
						IEFuZHJld3MxFjAUBgNVBAsTDUkuVC4gU2VydmljZXMxIzAhBgNVBAMTGk1hc3Rl
						ciBTaWduaW5nIENlcnRpZmljYXRlMSgwJgYJKoZIhvcNAQkBFhloZWxwZGVza0Bz
						dC1hbmRyZXdzLmFjLnVrggkAuOk/yzc55tswNQYJYIZIAYb4QgEEBCgWJmh0dHA6
						Ly93d3cuc3QtYW5kcmV3cy5hYy51ay9jYS1jcmwucGVtMA0GCSqGSIb3DQEBBQUA
						A4IBAQBNFniAL5xV5qrTPNItZnmGBnzKxOsrs3mz/iczwz/R1Ev0i5XJ92/99Cwo
						vxQYooCA3YgD5dWIevK4fuVR+3Yc8/qcTldvlRxBemhLDE7j2X6ENGqHTR8iSIuG
						rTnutC9BjIt+zF1TXZE7arOLHEEO3qpzncl7Xi7LqlKHrU3qUUBQaDbVx+zbQHoM
						CcPryKaouAbm9rbuwZYfUXUdsBr5DNn7uBM8O+AEZtWOF05/q0nAfR0cpUbNlaaU
						J7VjokUiLsonrTB+iDya4u4bBuVPrBamOUEW56hK5mw9KolgJZJ0ZBdWdUKKZbAp
						HJJWwiaz/8zD1c45FhMrVqCyySQs
					</ds:X509Certificate>
        </ds:X509Data>
      </ds:KeyInfo>
    </md:KeyDescriptor>
    <md:ArtifactResolutionService Binding="urn:oasis:names:tc:SAML:1.0:bindings:SOAP-binding" Location="https://login-test.st-andrews.ac.uk:8443/idp/profile/SAML1/SOAP/ArtifactResolution" index="1"/>
    <md:ArtifactResolutionService Binding="urn:oasis:names:tc:SAML:2.0:bindings:SOAP" Location="https://login-test.st-andrews.ac.uk:8443/idp/profile/SAML2/SOAP/ArtifactResolution" index="2"/>
    <md:NameIDFormat>urn:mace:shibboleth:1.0:nameIdentifier</md:NameIDFormat>
    <md:NameIDFormat>urn:oasis:names:tc:SAML:2.0:nameid-format:transient</md:NameIDFormat>
    <md:SingleSignOnService Binding="urn:mace:shibboleth:1.0:profiles:AuthnRequest" Location="https://login-test.st-andrews.ac.uk/idp/profile/Shibboleth/SSO"/>
    <md:SingleSignOnService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="https://login-test.st-andrews.ac.uk/idp/profile/SAML2/POST/SSO"/>
    <md:SingleSignOnService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST-SimpleSign" Location="https://login-test.st-andrews.ac.uk/idp/profile/SAML2/POST-SimpleSign/SSO"/>
    <md:SingleSignOnService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="https://login-test.st-andrews.ac.uk/idp/profile/SAML2/Redirect/SSO"/>
  </md:IDPSSODescriptor>
  <md:AttributeAuthorityDescriptor protocolSupportEnumeration="urn:oasis:names:tc:SAML:1.1:protocol urn:oasis:names:tc:SAML:2.0:protocol">
    <md:Extensions>
      <shibmd:Scope xmlns:shibmd="urn:mace:shibboleth:metadata:1.0" regexp="false">st-andrews.ac.uk</shibmd:Scope>
    </md:Extensions>
    <md:KeyDescriptor>
      <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
        <ds:X509Data>
          <ds:X509Certificate>
						MIIFUTCCBDmgAwIBAgICEKQwDQYJKoZIhvcNAQEFBQAwgbsxCzAJBgNVBAYTAlVL
						MQ0wCwYDVQQIEwRGaWZlMRMwEQYDVQQHEwpTdCBBbmRyZXdzMSEwHwYDVQQKExhV
						bml2ZXJzaXR5IG9mIFN0IEFuZHJld3MxFjAUBgNVBAsTDUkuVC4gU2VydmljZXMx
						IzAhBgNVBAMTGk1hc3RlciBTaWduaW5nIENlcnRpZmljYXRlMSgwJgYJKoZIhvcN
						AQkBFhloZWxwZGVza0BzdC1hbmRyZXdzLmFjLnVrMB4XDTEzMTIwNjEwNTYyMFoX
						DTMzMTIwMTEwNTYyMFowgZAxCzAJBgNVBAYTAkdCMQ0wCwYDVQQIEwRGaWZlMRMw
						EQYDVQQHEwpTdCBBbmRyZXdzMSEwHwYDVQQKExhVbml2ZXJzaXR5IG9mIFN0IEFu
						ZHJld3MxFDASBgNVBAsTC0lUIFNlcnZpY2VzMSQwIgYDVQQDExtsb2dpbi10ZXN0
						LnN0LWFuZHJld3MuYWMudWswggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIB
						AQC7cuS9mxZ5h3o5tZduDhluyOYa143mbMTZm1xzG/VZZmo56iqLsG9Rz4KNyV5i
						ejnvsSIaOf9L6OAJIlmp/grdKDQc3CU53jJGvRzfTUWLbgbCyEzzWPWjxF7ReFUK
						0Iy5ptAVa7JnxuBZSji1IXVROJUv+aaViIERDhlLp9QOtSHz3iW4IjQ5XJKEpJi/
						cWEqwWbhLWYg4mCL0U4GJ3WtKeHsNMaQNNKrNdBwoJTZCBzB6/z91q5wZX8xfnlJ
						BdU/msyzCWEg9khGD69v5H48Dm+JN8XevquX3M4Ymao9SdVr3zHIC/itEyvhGJ0g
						DZEWpwIr6j51JgqhbuYgNzKBAgMBAAGjggGGMIIBgjAJBgNVHRMEAjAAMCwGCWCG
						SAGG+EIBDQQfFh1PcGVuU1NMIEdlbmVyYXRlZCBDZXJ0aWZpY2F0ZTAdBgNVHQ4E
						FgQU7An8KIwCJZKUpSxs2PR8zEacU88wgfAGA1UdIwSB6DCB5YAURVkprYqR6rp8
						gi1KY6b2O6qok5OhgcGkgb4wgbsxCzAJBgNVBAYTAlVLMQ0wCwYDVQQIEwRGaWZl
						MRMwEQYDVQQHEwpTdCBBbmRyZXdzMSEwHwYDVQQKExhVbml2ZXJzaXR5IG9mIFN0
						IEFuZHJld3MxFjAUBgNVBAsTDUkuVC4gU2VydmljZXMxIzAhBgNVBAMTGk1hc3Rl
						ciBTaWduaW5nIENlcnRpZmljYXRlMSgwJgYJKoZIhvcNAQkBFhloZWxwZGVza0Bz
						dC1hbmRyZXdzLmFjLnVrggkAuOk/yzc55tswNQYJYIZIAYb4QgEEBCgWJmh0dHA6
						Ly93d3cuc3QtYW5kcmV3cy5hYy51ay9jYS1jcmwucGVtMA0GCSqGSIb3DQEBBQUA
						A4IBAQBNFniAL5xV5qrTPNItZnmGBnzKxOsrs3mz/iczwz/R1Ev0i5XJ92/99Cwo
						vxQYooCA3YgD5dWIevK4fuVR+3Yc8/qcTldvlRxBemhLDE7j2X6ENGqHTR8iSIuG
						rTnutC9BjIt+zF1TXZE7arOLHEEO3qpzncl7Xi7LqlKHrU3qUUBQaDbVx+zbQHoM
						CcPryKaouAbm9rbuwZYfUXUdsBr5DNn7uBM8O+AEZtWOF05/q0nAfR0cpUbNlaaU
						J7VjokUiLsonrTB+iDya4u4bBuVPrBamOUEW56hK5mw9KolgJZJ0ZBdWdUKKZbAp
						HJJWwiaz/8zD1c45FhMrVqCyySQs
					</ds:X509Certificate>
        </ds:X509Data>
      </ds:KeyInfo>
    </md:KeyDescriptor>
    <md:AttributeService Binding="urn:oasis:names:tc:SAML:1.0:bindings:SOAP-binding" Location="https://login-test.st-andrews.ac.uk:8443/idp/profile/SAML1/SOAP/AttributeQuery"/>
    <md:AttributeService Binding="urn:oasis:names:tc:SAML:2.0:bindings:SOAP" Location="https://login-test.st-andrews.ac.uk:8443/idp/profile/SAML2/SOAP/AttributeQuery"/>
    <md:NameIDFormat>urn:mace:shibboleth:1.0:nameIdentifier</md:NameIDFormat>
    <md:NameIDFormat>urn:oasis:names:tc:SAML:2.0:nameid-format:transient</md:NameIDFormat>
  </md:AttributeAuthorityDescriptor>
  <md:Organization>
    <md:OrganizationName xml:lang="en">University of St Andrews</md:OrganizationName>
    <md:OrganizationDisplayName xml:lang="en">University of St Andrews (2.2 test)</md:OrganizationDisplayName>
    <md:OrganizationURL xml:lang="en">http://www.st-andrews.ac.uk/</md:OrganizationURL>
  </md:Organization>
  <md:ContactPerson contactType="support">
    <md:GivenName>Duncan</md:GivenName>
    <md:SurName>Brannen</md:SurName>
    <md:EmailAddress>mailto:dbb@st-andrews.ac.uk</md:EmailAddress>
  </md:ContactPerson>
  <md:ContactPerson contactType="technical">
    <md:GivenName>Duncan</md:GivenName>
    <md:SurName>Brannen</md:SurName>
    <md:EmailAddress>mailto:dbb@st-andrews.ac.uk</md:EmailAddress>
  </md:ContactPerson>
</md:EntityDescriptor>