summaryrefslogtreecommitdiff
path: root/tests/01-phaos-xmlenc-3/enc-text-3des-kw-aes256.xml
blob: b972f1d4ecb0cc140b241da26b591e6bfc965867 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?xml version="1.0" encoding="UTF-8"?>
<PaymentInfo xmlns="http://example.org/paymentv2">
  <Name>John Smith</Name>
  <CreditCard Currency="USD" Limit="5,000">
    <Number><EncryptedData Id="ED" Type="http://www.w3.org/2001/04/xmlenc#Content" xmlns="http://www.w3.org/2001/04/xmlenc#">
              <EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#tripledes-cbc"/>
              <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
                <EncryptedKey Id="EK" xmlns="http://www.w3.org/2001/04/xmlenc#">
                  <EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#kw-aes256"/>
                  <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
                    <ds:KeyName>my-aes256-key</ds:KeyName>
                  </ds:KeyInfo>
                  <CipherData>
                    <CipherValue>
                      jOvQe4SxDqEMvAHcmb3Z+/Uedj23pvL6BRQsl2sjJlQ=
                    </CipherValue>
                  </CipherData>
                  <ReferenceList>
                    <DataReference URI="#ED"/>
                  </ReferenceList>
                </EncryptedKey>
              </ds:KeyInfo>
              <CipherData>
                 <CipherValue>
                    tY3V4h8kopDTZXb80BoqEWH7/nWryHZhU504S1ZRPLw=
                 </CipherValue>
              </CipherData>
            </EncryptedData></Number>
    <Issuer>Bank of the Internet</Issuer>
    <Expiration Time="04/02"/>
  </CreditCard>
</PaymentInfo>