<?xml version="1.0" encoding="UTF-8"?>
<md:EntityDescriptor xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:mdrpi="urn:oasis:names:tc:SAML:metadata:rpi" xmlns:alg="urn:oasis:names:tc:SAML:metadata:algsupport" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:mdui="urn:oasis:names:tc:SAML:metadata:ui" xmlns:shibmd="urn:mace:shibboleth:metadata:1.0" entityID="https://swamid-2.grandid.com/module.php/saml/sp/metadata.php/ProxySP-Swamid-btj">
  <md:Extensions>
    <mdrpi:RegistrationInfo registrationAuthority="http://www.swamid.se/">
      <mdrpi:RegistrationPolicy xml:lang="en">https://www.sunet.se/wp-content/uploads/2016/08/SWAMID-Metadata-Registration-Practice-Statement-v2.pdf</mdrpi:RegistrationPolicy>
    </mdrpi:RegistrationInfo>
  </md:Extensions>
  <md:SPSSODescriptor protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol urn:oasis:names:tc:SAML:1.1:protocol" AuthnRequestsSigned="false">
    <md:Extensions>
      <mdui:UIInfo>
        <mdui:DisplayName xml:lang="sv">BTJ Sverige AB</mdui:DisplayName>
        <mdui:DisplayName xml:lang="en">BTJ Sverige AB</mdui:DisplayName>
        <mdui:Description xml:lang="sv">Tjänst för hantering av böcker köpta av organisationer digitalt</mdui:Description>
        <mdui:Description xml:lang="en">Service for managing books purchased by organizations digitally</mdui:Description>
        <mdui:Logo width="568" height="530">http://www.btj.se/wp-content/uploads/2016/06/logo-1.png</mdui:Logo>
      </mdui:UIInfo>
      <idpdisc:DiscoveryResponse xmlns:idpdisc="urn:oasis:names:tc:SAML:profiles:SSO:idp-discovery-protocol" index="1" Binding="urn:oasis:names:tc:SAML:profiles:SSO:idp-discovery-protocol" Location="https://swamid-2.grandid.com/module.php/saml/sp/discoresp.php"/>
    </md:Extensions>
    <md:KeyDescriptor use="signing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zkbqvb+O8a2Vrt21oyX9oxoSshewaMjyppA71k6AdiYDHdj2AgHUFNDMrf7WilPk3MSA1ZKjWMociANZECUd878qUUttvxqZMb7xL+PvqLue6v5eQYhhzTLIpiFcXPf13PF4cB6eN0YXUU98/q7Uq489zdsRw38=</ds:X509Certificate>
        </ds:X509Data>
      </ds:KeyInfo>
    </md:KeyDescriptor>
    <md:KeyDescriptor use="encryption">
      <ds:KeyInfo>
        <ds:X509Data>
          <ds:X509Certificate>MIIGoDCCBIigAwIBAgIEAIlg4DANBgkqhkiG9w0BAQsFADCBrTELMAkGA1UEBhMCU0UxEDAOBgNVBAgMB1VwcHNhbGExEDAOBgNVBAcMB1VwcHNhbGExHjAcBgNVBAoMFVN2ZW5zayBlLWlkZW50aXRldCBBQjELMAkGA1UECwwCSVQxJjAkBgNVBAMMHVN2ZW5zayBlLWlkZW50aXRldCBBQiBDQSBWMS4zMSUwIwYJKoZIhvcNAQkBFhZzdXBwb3J0QGUtaWRlbnRpdGV0LnNlMB4XDTE4MTIwNTA4NTY1OFoXDTI4MTIwMjA4NTY1OFowgbYxKTAnBgNVBAMMIDQyZTMyMjRiODAyZTQyZjBjZjY3YzYzNzcyMTk4MGYwMSIwIAYJKoZIhvcNAQkBFhNzdXBwb3J0QGdyYW5kaWQuY29tMQswCQYDVQQGEwJTRTEQMA4GA1UECAwHVXBwc2FsYTEQMA4GA1UEBwwHVXBwc2FsYTEnMCUGA1UECgweU3ZlbnNrIGUtaWRlbnRpdGV0IEFCIC0gTm9TaWduMQswCQYDVQQLDAJJVDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAM4T2Sza5OvyUsifEUDR95rvtaviuER54VarMs4Je4PUaq0c9Pj71DrFa+SvxntAsLgft26KUp0oKm49ipfx725WydCTZTgXN7wjgeqREvVotVVltFL2PyFNN66qnP41pSfeWhIH2M80lII/wANgMsWS+fsmersbDRDFx+FlCH6MJVHEfVOQmPnIL+hgjAVRruWLie3uBr6N06Axjdjg1J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H0t887cgEN6FKfqiAIYbSInvGfW5oRxnJYnEqk20WFyfjB8XhyuuZY6pPAM0WuHIunF5x9gdNpvVJCQs8gEZofrDHcZIhp7/wMyqqVA5hZcXjtoxNdLnPFbH+R4BfokI5NaF/+lImrw26P9yY2sUcQny5qUJrF4D2spTHsIAllzQcukKYJqI8XvKyQPBWFHVv0xM7rilRK5uXq44+TaGO8TDQ0BdRI7PKzkbqvb+O8a2Vrt21oyX9oxoSshewaMjyppA71k6AdiYDHdj2AgHUFNDMrf7WilPk3MSA1ZKjWMociANZECUd878qUUttvxqZMb7xL+PvqLue6v5eQYhhzTLIpiFcXPf13PF4cB6eN0YXUU98/q7Uq489zdsRw38=</ds:X509Certificate>
        </ds:X509Data>
      </ds:KeyInfo>
    </md:KeyDescriptor>
    <md:SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="https://swamid-2.grandid.com/module.php/saml/sp/saml2-logout.php/ProxySP-Swamid-btj"/>
    <md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="https://swamid-2.grandid.com/module.php/saml/sp/saml2-acs.php/ProxySP-Swamid-btj" index="0"/>
    <md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:1.0:profiles:browser-post" Location="https://swamid-2.grandid.com/module.php/saml/sp/saml1-acs.php/ProxySP-Swamid-btj" index="1"/>
    <md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact" Location="https://swamid-2.grandid.com/module.php/saml/sp/saml2-acs.php/ProxySP-Swamid-btj" index="2"/>
    <md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:1.0:profiles:artifact-01" Location="https://swamid-2.grandid.com/module.php/saml/sp/saml1-acs.php/ProxySP-Swamid-btj/artifact" index="3"/>
    <md:AttributeConsumingService index="0">
      <md:ServiceName xml:lang="sv">BTJ Sverige AB</md:ServiceName>
      <md:ServiceName xml:lang="en">BTJ Sverige AB</md:ServiceName>
      <md:RequestedAttribute Name="urn:oid:2.16.840.1.113730.3.1.241" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri" FriendlyName="displayName"/>
      <md:RequestedAttribute Name="urn:oid:1.3.6.1.4.1.5923.1.1.1.6" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri" FriendlyName="eduPersonPrincipalName"/>
      <md:RequestedAttribute Name="2.5.4.10" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri" FriendlyName="o"/>
      <md:RequestedAttribute Name="urn:oid:2.5.4.42" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri" FriendlyName="givenName"/>
      <md:RequestedAttribute Name="urn:oid:2.5.4.4" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri" FriendlyName="sn"/>
    </md:AttributeConsumingService>
  </md:SPSSODescriptor>
  <md:Organization>
    <md:OrganizationName xml:lang="sv">Svensk E-identitet SP</md:OrganizationName>
    <md:OrganizationDisplayName xml:lang="en">Svensk E-identitet AB</md:OrganizationDisplayName>
    <md:OrganizationURL xml:lang="en">http://www.e-identitet.se/</md:OrganizationURL>
  </md:Organization>
  <md:ContactPerson contactType="administrative">
    <md:EmailAddress>mailto:btjbc@btj.se.</md:EmailAddress>
  </md:ContactPerson>
  <md:ContactPerson contactType="technical">
    <md:GivenName>Svensk E-identitet / GrandID Support</md:GivenName>
    <md:EmailAddress>mailto:support@grandid.com</md:EmailAddress>
  </md:ContactPerson>
</md:EntityDescriptor>