Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- RESPONSE:
- <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
- <saml2p:Response xmlns:saml2p="urn:oasis:names:tc:SAML:2.0:protocol" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:saml2="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" Consent="" ID="ID-592f1833-9f7c-4818-ae7a-81cbee29a46b" InResponseTo="_4b39a223-3294-4808-920e-95d9ed6c3766" IssueInstant="2018-11-14T14:54:16.904Z" Version="2.0">
- <saml2:Issuer Format="urn:oasis:names:tc:SAML:2.0:nameid-format:entity">https://xidp-mock.pl</saml2:Issuer>
- <saml2p:Status>
- <saml2p:StatusCode Value="urn:oasis:names:tc:SAML:2.0:status:Success"/>
- </saml2p:Status>
- <saml2:EncryptedAssertion>
- <xenc:EncryptedData Type="http://www.w3.org/2001/04/xmlenc#Element">
- <xenc:EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/>
- <ds:KeyInfo>
- <xenc:EncryptedKey>
- <xenc:EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#rsa-oaep"/>
- <ds:KeyInfo>
- <ds:KeyValue>
- <ds:RSAKeyValue>
- <ds:Modulus>*******************</ds:Modulus>
- <ds:Exponent>AQAB</ds:Exponent>
- </ds:RSAKeyValue>
- </ds:KeyValue>
- </ds:KeyInfo>
- <xenc:CipherData>
- <xenc:CipherValue>*******************</xenc:CipherValue>
- </xenc:CipherData>
- </xenc:EncryptedKey>
- </ds:KeyInfo>
- <xenc:CipherData>
- <xenc:CipherValue>*********************************************************</xenc:CipherValue>
- </xenc:CipherData>
- </xenc:EncryptedData>
- </saml2:EncryptedAssertion>
- </saml2p:Response>
- ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
- SIGN RESPONSE:
- <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
- <saml2p:Response xmlns:saml2p="urn:oasis:names:tc:SAML:2.0:protocol" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:saml2="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" Consent="" ID="ID-592f1833-9f7c-4818-ae7a-81cbee29a46b" InResponseTo="_4b39a223-3294-4808-920e-95d9ed6c3766" IssueInstant="2018-11-14T14:54:16.904Z" Version="2.0">
- <saml2:Issuer Format="urn:oasis:names:tc:SAML:2.0:nameid-format:entity">https://xidp-mock.pl</saml2:Issuer>
- <ds:Signature>
- <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="#ID-592f1833-9f7c-4818-ae7a-81cbee29a46b">
- <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#">
- <InclusiveNamespaces xmlns="http://www.w3.org/2001/10/xml-exc-c14n#" PrefixList="ds saml2 saml2p xenc"/>
- </ds:Transform>
- </ds:Transforms>
- <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
- <ds:DigestValue>lBFfl5igUuYaD05CJhadDXz0sLU=</ds:DigestValue>
- </ds:Reference>
- </ds:SignedInfo>
- <ds:SignatureValue>*******************</ds:SignatureValue>
- <ds:KeyInfo>
- <ds:X509Data>
- <ds:X509Certificate>*******************</ds:X509Certificate>
- </ds:X509Data>
- </ds:KeyInfo>
- </ds:Signature>
- <saml2p:Status>
- <saml2p:StatusCode Value="urn:oasis:names:tc:SAML:2.0:status:Success"/>
- </saml2p:Status>
- <saml2:EncryptedAssertion>
- <xenc:EncryptedData Type="http://www.w3.org/2001/04/xmlenc#Element">
- <xenc:EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/>
- <ds:KeyInfo>
- <xenc:EncryptedKey>
- <xenc:EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#rsa-oaep"/>
- <ds:KeyInfo>
- <ds:KeyValue>
- <ds:RSAKeyValue>
- <ds:Modulus>*******************</ds:Modulus>
- <ds:Exponent>AQAB</ds:Exponent>
- </ds:RSAKeyValue>
- </ds:KeyValue>
- </ds:KeyInfo>
- <xenc:CipherData>
- <xenc:CipherValue>*******************</xenc:CipherValue>
- </xenc:CipherData>
- </xenc:EncryptedKey>
- </ds:KeyInfo>
- <xenc:CipherData>
- <xenc:CipherValue>**************************************</xenc:CipherValue>
- </xenc:CipherData>
- </xenc:EncryptedData>
- </saml2:EncryptedAssertion>
- </saml2p:Response>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement