github.com/crewjam/saml@v0.4.14/xmlenc/corpus/encrypt-element-aes256-cbc-carried-kw-aes256.xml (about) 1 <?xml version="1.0" encoding="UTF-8"?> 2 <PurchaseOrder xmlns="urn:example:po"> 3 <Items> 4 <Item Code="001-001-001" Quantity="1"> 5 spade 6 </Item> 7 <Item Code="001-001-002" Quantity="1"> 8 shovel 9 </Item> 10 </Items> 11 <ShippingAddress> 12 Dig PLC, 1 First Ave, Dublin 1, Ireland 13 </ShippingAddress> 14 <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#" Type="http://www.w3.org/2001/04/xmlenc#Element"> 15 <EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#aes256-cbc" /> 16 <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> 17 <KeyName>Foo Key</KeyName> 18 </KeyInfo> 19 <CipherData> 20 <CipherValue> 21 pdDtiyd7XQ/BFEEN0PMJuHnLUfCY+bJlsW+q04OiKSPnRd4/dS1tjaTfj5dPpGXe 22 cY3fJvRsq9QP1CJiwyEC/EQ1zSLbzwOtZ+NtxtsFgYvPBJ9t86ZcXIjlErQ85z3L 23 wnb8rSHpE9tu4tJ1rjgf2i6NCbdFnSMXLSDgLEs48+gkX0cJCmKxzRaSE4cV0OSl 24 hBWND4EYzX1M679VlSYrI0de+lSPO3Vx+y/TuZ5Vo+uu9+YP+ce0LRkx2BicjjsP 25 QO9sp+yjHPNDIV1Z7VHsDIWqqmBaNQo3GuzF5WzWgaXTKnPv/IgUQn+1t3EtgHyb 26 JhnfR/1em16z/Zaf9Uy1Lfd//yfEJ9BCjqwe1UjwN6ytu1v2BHd+8bVjD2o+Dg8V 27 7ayOLlkWOTOLvtJMPOXPqw== 28 </CipherValue> 29 </CipherData> 30 </EncryptedData> 31 <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> 32 <EncryptedKey xmlns="http://www.w3.org/2001/04/xmlenc#" Recipient="someone else"> 33 <EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#kw-aes256" /> 34 <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> 35 <KeyName>ned</KeyName> 36 </KeyInfo> 37 <CipherData> 38 <CipherValue> 39 EWlIkFPGrkeW4cyjWSznLVoClVh/OEC7Klya9d9o7R6wll6JswZb2w== 40 </CipherValue> 41 </CipherData> 42 <CarriedKeyName>Foo Key</CarriedKeyName> 43 </EncryptedKey> 44 <EncryptedKey xmlns="http://www.w3.org/2001/04/xmlenc#" Recipient="you"> 45 <EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#kw-aes256" /> 46 <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> 47 <KeyName>jed</KeyName> 48 </KeyInfo> 49 <CipherData> 50 <CipherValue> 51 bsL63D0hPN6EOyzdgfEmKsAAvoJiGM+Wp9a9KZM92IKdl7s3YSntRg== 52 </CipherValue> 53 </CipherData> 54 <CarriedKeyName>Foo Key</CarriedKeyName> 55 </EncryptedKey> 56 </KeyInfo> 57 </PurchaseOrder>