Git init
[external/xmlsec1.git] / tests / 01-phaos-xmlenc-3 / enc-element-aes256-kw-aes256.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <PaymentInfo xmlns="http://example.org/paymentv2">
3   <Name>John Smith</Name>
4   <EncryptedData Id="ED" Type="http://www.w3.org/2001/04/xmlenc#Element" xmlns="http://www.w3.org/2001/04/xmlenc#">
5     <EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#aes256-cbc"/>
6     <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
7       <EncryptedKey Id="EK" xmlns="http://www.w3.org/2001/04/xmlenc#">
8         <EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#kw-aes256"/>
9         <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
10           <ds:KeyName>my-aes256-key</ds:KeyName>
11         </ds:KeyInfo>
12         <CipherData>
13           <CipherValue>IMwdsyg89IZ4Txf1SYYZNKUOKuYdDoIi/zEKXCjj4j9PM6BdkZligA==</CipherValue>
14         </CipherData>
15         <ReferenceList>
16           <DataReference URI="#ED"/>
17         </ReferenceList>
18       </EncryptedKey>
19     </ds:KeyInfo>
20     <CipherData>
21       <CipherValue>
22         sKcjsnw0spmr+iFPf2FWILKQz32+8DvSGm6WTtmMd9syqY/+BIubjH3PS7ROuGY6
23         xaotStXfOXm5fE4R3Haqw/04gfV4jJU3vIZZHYj9blDIn602YtqI+xti2zZOhGZ4
24         9gssg7m8ZOJ28yfbQfNw97RdwQiSnIU/Bh87xQJRDK0/M3fOHylMUTH7xMMbQu5m
25         rhYj49kNpnVK7XyP7jCek0lT2ei7KYdKaxD/Jm/xWPxaxyS2C8q9bku5HMsEKJOn
26       </CipherValue>
27     </CipherData>
28   </EncryptedData>
29 </PaymentInfo>