summaryrefslogtreecommitdiff
path: root/tests/01-phaos-xmlenc-3/enc-content-aes128-kw-3des.xml
blob: 7958d57dae6836566158225ad391530ab7afcfc8 (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
<?xml version="1.0" encoding="UTF-8"?>
<PaymentInfo xmlns="http://example.org/paymentv2">
  <Name>John Smith</Name>
  <CreditCard Currency="USD" Limit="5,000">
    <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#aes128-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-tripledes"/>
          <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
            <ds:KeyName>my-3des-key</ds:KeyName>
          </ds:KeyInfo>
          <CipherData>
            <CipherValue>/PZvvn42E9dmMUZ8KCY6B5XtLaaIaG4X5YNDwgV5Vlo=</CipherValue>
          </CipherData>
          <ReferenceList>
            <DataReference URI="#ED"/>
          </ReferenceList>
        </EncryptedKey>
      </ds:KeyInfo>
      <CipherData>
        <CipherValue>
           rINpr0HonGcKnnf/vYx8N3gnd+1rb+zwH1vnfjyt+bOoSU72w/QqniT71/GxtFFx
           gwE0/arABVa1r8/PMRerWqyParMnpwIRq6dzQHKb5SqiqFEYPRZhytTGZFXN39oG
           YZkSINOli5paMwTWrq6hDSPRozKvfEqhuI0VgZU4OLM=
        </CipherValue>
      </CipherData>
    </EncryptedData>
  </CreditCard>
</PaymentInfo>