samlp:Response(ID           = _8e8dc5f69a98cc4c1ff3427e5ce34606fd672f91e6
               Version      = 2.0
               IssueInstant = 2014-07-17T01:01:48Z
               Destination  = http://sp.example.com/demo1/index.php?acs
               InResponseTo = ONELOGIN_4fee3b046395c4e751011e97f8900b5273d56685
               xmlns:samlp  = urn:oasis:names:tc:SAML:2.0:protocol
               xmlns:saml   = urn:oasis:names:tc:SAML:2.0:assertion)
{
    saml:Issuer = http://idp.example.com/metadata.php
    samlp:Status {
        samlp:StatusCode(Value = urn:oasis:names:tc:SAML:2.0:status:Success)
    }
    saml:Assertion(ID           = pfxda856a2e-2e0b-2770-09be-e67dc7ed7f4d
                   Version      = 2.0
                   IssueInstant = 2014-07-17T01:01:48Z
                   xmlns:xsi    = http://www.w3.org/2001/XMLSchema-instance
                   xmlns:xs     = http://www.w3.org/2001/XMLSchema)
    {
        saml:Issuer = http://idp.example.com/metadata.php
        ds:Signature(xmlns:ds = http://www.w3.org/2000/09/xmldsig#)
        {
            ds:SignedInfo {
                ds:CanonicalizationMethod(Algorithm = http://www.w3.org/2001/10/xml-exc-c14n#)
                ds:SignatureMethod(Algorithm = http://www.w3.org/2000/09/xmldsig#rsa-sha1)
                ds:Reference(URI = #pfxda856a2e-2e0b-2770-09be-e67dc7ed7f4d)
                {
                    ds:Transforms {
                        ds:Transform(Algorithm = http://www.w3.org/2000/09/xmldsig#enveloped-signature)
                        ds:Transform(Algorithm = http://www.w3.org/2001/10/xml-exc-c14n#)
                    }
                    ds:DigestMethod(Algorithm = http://www.w3.org/2000/09/xmldsig#sha1)
                    ds:DigestValue = deon3X2eXQDM2p5o35qvGNh3S0g=
                }
            }
            ds:SignatureValue = GeK7yFyu3iAf7qLvq1B4clcINRWrgWUQCTt8SQN/bTJT22Wy1fcUZBD6SpjXNketblj9M8ysYxldkHfJpNlVd+NWeDoLv8Qn25hcAaXZYk+7o7Qhgiy+rMWFThbtz6p/3TTcKUrhwBunQjTtcR20gDGxCK9Wjuf+htLos5mNXvc=
            ds:KeyInfo {
                ds:X509Data {
                    ds:X509Certificate = MIICajCCAdOgAwIBAgIBADANBgkqhkiG9w0BAQ0FADBSMQswCQYDVQQGEwJ1czETMBEGA1UECAwKQ2FsaWZvcm5pYTEVMBMGA1UECgwMT25lbG9naW4gSW5jMRcwFQYDVQQDDA5zcC5leGFtcGxlLmNvbTAeFw0xNDA3MTcxNDEyNTZaFw0xNTA3MTcxNDEyNTZaMFIxCzAJBgNVBAYTAnVzMRMwEQYDVQQIDApDYWxpZm9ybmlhMRUwEwYDVQQKDAxPbmVsb2dpbiBJbmMxFzAVBgNVBAMMDnNwLmV4YW1wbGUuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDZx+ON4IUoIWxgukTb1tOiX3bMYzYQiwWPUNMp+Fq82xoNogso2bykZG0yiJm5o8zv/sd6pGouayMgkx/2FSOdc36T0jGbCHuRSbtia0PEzNIRtmViMrt3AeoWBidRXmZsxCNLwgIV6dn2WpuE5Az0bHgpZnQxTKFek0BMKU/d8wIDAQABo1AwTjAdBgNVHQ4EFgQUGHxYqZYyX7cTxKVODVgZwSTdCnwwHwYDVR0jBBgwFoAUGHxYqZYyX7cTxKVODVgZwSTdCnwwDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQ0FAAOBgQByFOl+hMFICbd3DJfnp2Rgd/dqttsZG/tyhILWvErbio/DEe98mXpowhTkC04ENprOyXi7ZbUqiicF89uAGyt1oqgTUCD1VsLahqIcmrzgumNyTwLGWo17WDAa1/usDhetWAMhgzF/Cnf5ek0nK00m0YZGyc4LzgD0CROMASTWNg==
                }
            }
        }
        saml:Subject {
            saml:NameID(SPNameQualifier = http://sp.example.com/demo1/metadata.php
                        Format          = urn:oasis:names:tc:SAML:2.0:nameid-format:transient) = _ce3d2948b4cf20146dee0a0b3dd6f69b6cf86f62d7
            saml:SubjectConfirmation(Method = urn:oasis:names:tc:SAML:2.0:cm:bearer)
            {
                saml:SubjectConfirmationData(NotOnOrAfter = 2024-01-18T06:21:48Z
                                             Recipient    = http://sp.example.com/demo1/index.php?acs
                                             InResponseTo = ONELOGIN_4fee3b046395c4e751011e97f8900b5273d56685)
            }
        }
        saml:Conditions(NotBefore    = 2014-07-17T01:01:18Z
                        NotOnOrAfter = 2024-01-18T06:21:48Z)
        {
            saml:AudienceRestriction {
                saml:Audience = http://sp.example.com/demo1/metadata.php
            }
        }
        saml:AuthnStatement(AuthnInstant        = 2014-07-17T01:01:48Z
                            SessionNotOnOrAfter = 2024-07-17T09:01:48Z
                            SessionIndex        = _be9967abd904ddcae3c0eb4189adbe3f71e327cf93)
        {
            saml:AuthnContext {
                saml:AuthnContextClassRef = urn:oasis:names:tc:SAML:2.0:ac:classes:Password
            }
        }
        saml:AttributeStatement {
            saml:Attribute(Name       = uid
                           NameFormat = urn:oasis:names:tc:SAML:2.0:attrname-format:basic)
            {
                saml:AttributeValue(xsi:type = xs:string) = test
            }
            saml:Attribute(Name       = mail
                           NameFormat = urn:oasis:names:tc:SAML:2.0:attrname-format:basic)
            {
                saml:AttributeValue(xsi:type = xs:string) = test@example.com
            }
            saml:Attribute(Name       = eduPersonAffiliation
                           NameFormat = urn:oasis:names:tc:SAML:2.0:attrname-format:basic)
            {
                saml:AttributeValue(xsi:type = xs:string) = users
                saml:AttributeValue(xsi:type = xs:string) = examplerole1
            }
        }
    }
}