Advertisement
Guest User

Untitled

a guest
Nov 15th, 2018
189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 4.61 KB | None | 0 0
  1. RESPONSE:
  2.  
  3.  
  4.  
  5. <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
  6. <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">
  7.   <saml2:Issuer Format="urn:oasis:names:tc:SAML:2.0:nameid-format:entity">https://xidp-mock.pl</saml2:Issuer>
  8.   <saml2p:Status>
  9.     <saml2p:StatusCode Value="urn:oasis:names:tc:SAML:2.0:status:Success"/>
  10.   </saml2p:Status>
  11.   <saml2:EncryptedAssertion>
  12.     <xenc:EncryptedData Type="http://www.w3.org/2001/04/xmlenc#Element">
  13.       <xenc:EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/>
  14.       <ds:KeyInfo>
  15.         <xenc:EncryptedKey>
  16.           <xenc:EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#rsa-oaep"/>
  17.           <ds:KeyInfo>
  18.             <ds:KeyValue>
  19.               <ds:RSAKeyValue>
  20.                 <ds:Modulus>*******************</ds:Modulus>
  21.                 <ds:Exponent>AQAB</ds:Exponent>
  22.               </ds:RSAKeyValue>
  23.             </ds:KeyValue>
  24.           </ds:KeyInfo>
  25.           <xenc:CipherData>
  26.             <xenc:CipherValue>*******************</xenc:CipherValue>
  27.           </xenc:CipherData>
  28.         </xenc:EncryptedKey>
  29.       </ds:KeyInfo>
  30.       <xenc:CipherData>
  31.         <xenc:CipherValue>*********************************************************</xenc:CipherValue>
  32.       </xenc:CipherData>
  33.     </xenc:EncryptedData>
  34.   </saml2:EncryptedAssertion>
  35. </saml2p:Response>
  36.  
  37. ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  38.  
  39. SIGN RESPONSE:
  40.  
  41.  
  42. <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
  43. <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">
  44.   <saml2:Issuer Format="urn:oasis:names:tc:SAML:2.0:nameid-format:entity">https://xidp-mock.pl</saml2:Issuer>
  45.   <ds:Signature>
  46.     <ds:SignedInfo>
  47.       <ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
  48.       <ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
  49.       <ds:Reference URI="#ID-592f1833-9f7c-4818-ae7a-81cbee29a46b">
  50.         <ds:Transforms>
  51.           <ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
  52.           <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#">
  53.             <InclusiveNamespaces xmlns="http://www.w3.org/2001/10/xml-exc-c14n#" PrefixList="ds saml2 saml2p xenc"/>
  54.           </ds:Transform>
  55.         </ds:Transforms>
  56.         <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
  57.         <ds:DigestValue>lBFfl5igUuYaD05CJhadDXz0sLU=</ds:DigestValue>
  58.       </ds:Reference>
  59.     </ds:SignedInfo>
  60.     <ds:SignatureValue>*******************</ds:SignatureValue>
  61.     <ds:KeyInfo>
  62.       <ds:X509Data>
  63.         <ds:X509Certificate>*******************</ds:X509Certificate>
  64.       </ds:X509Data>
  65.     </ds:KeyInfo>
  66.   </ds:Signature>
  67.   <saml2p:Status>
  68.     <saml2p:StatusCode Value="urn:oasis:names:tc:SAML:2.0:status:Success"/>
  69.   </saml2p:Status>
  70.   <saml2:EncryptedAssertion>
  71.     <xenc:EncryptedData Type="http://www.w3.org/2001/04/xmlenc#Element">
  72.       <xenc:EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/>
  73.       <ds:KeyInfo>
  74.         <xenc:EncryptedKey>
  75.           <xenc:EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#rsa-oaep"/>
  76.           <ds:KeyInfo>
  77.             <ds:KeyValue>
  78.               <ds:RSAKeyValue>
  79.                 <ds:Modulus>*******************</ds:Modulus>
  80.                 <ds:Exponent>AQAB</ds:Exponent>
  81.               </ds:RSAKeyValue>
  82.             </ds:KeyValue>
  83.           </ds:KeyInfo>
  84.           <xenc:CipherData>
  85.             <xenc:CipherValue>*******************</xenc:CipherValue>
  86.           </xenc:CipherData>
  87.         </xenc:EncryptedKey>
  88.       </ds:KeyInfo>
  89.       <xenc:CipherData>
  90.         <xenc:CipherValue>**************************************</xenc:CipherValue>
  91.       </xenc:CipherData>
  92.     </xenc:EncryptedData>
  93.   </saml2:EncryptedAssertion>
  94. </saml2p:Response>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement