<?xml version="1.0" encoding="utf-8"?>
<samlp:Response
  ID="idvalue31231231231312"
  IssueInstant="2006-12-31T12:10:00"
  Version="2.0"
  Consent="urn:oasis:names:tc:SAML:2.0:consent:current-implicit"
  xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion"
  xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
  xmlns:xs="http://www.w3.org/2001/XMLSchema"
  xsi:schemaLocation="urn:oasis:names:tc:SAML:2.0:protocol http://docs.oasis-open.org/security/saml/v2.0/saml-schema-protocol-2.0.xsd
  urn:oasis:names:tc:SAML:2.0:assertion http://docs.oasis-open.org/security/saml/v2.0/saml-schema-assertion-2.0.xsd
  http://www.w3.org/2000/09/xmldsig# http://www.w3.org/TR/2002/REC-xmldsig-core-20020212/xmldsig-core-schema.xsd">
  <saml:Issuer>http://SomeAttributeService.dk</saml:Issuer>
  <!-- 
    <ds:Signature>...</ds:Signature>
  -->
  <samlp:Status>
    <samlp:StatusCode Value="samlp:Success" />
    <samlp:StatusMessage>Success</samlp:StatusMessage>
  </samlp:Status>
  <saml:Assertion
    ID="idvalue131231231312"
    IssueInstant="2006-12-31T12:12:00"
    Version="2.0">
    <saml:Issuer>http://SomeAttributeService.dk</saml:Issuer>
    <!-- Here is the subject in this case the DN from the OCES certificate -->
    <saml:Subject>
      <saml:NameID Format="urn:oasis:names:tc:SAML:1.1:nameid-format:X509SubjectName">
        C=DK,O=Pølsevognen,CN=Hans Jensen
      </saml:NameID>
    </saml:Subject>
    <saml:Conditions>
      <saml:AudienceRestriction>
        <saml:Audience>http://SomeServiceProvider.dk</saml:Audience>
      </saml:AudienceRestriction>
    </saml:Conditions>
    <saml:AttributeStatement>
      <!-- Here is the Uid Core Attribute which contains the Subject serialnumber -->
      <saml:Attribute
        NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri"
        Name="urn:oid:0.9.2342.19200300.100.1.1">
        <saml:AttributeValue xsi:type="xs:string">CVR:20688092-RID:1180636224562</saml:AttributeValue>
      </saml:Attribute>
      <!-- The returned attribute with the P-Number Identifier -->
      <saml:Attribute
        NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri"
        Name="dk:gov:saml:attribute:ProductionSiteNumberIdentifier">
        <saml:AttributeValue xsi:type="xs:string">2739661287</saml:AttributeValue>
      </saml:Attribute>
    </saml:AttributeStatement>
  </saml:Assertion>
</samlp:Response>