summaryrefslogtreecommitdiff
path: root/tests/01-phaos-xmlenc-3/enc-content-aes256-kt-rsa1_5.tmpl
blob: 709ee22297ff6025ad6e8acc807d51867660ceb7 (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
<?xml version="1.0" encoding="UTF-8"?>
<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#aes256-cbc"/>
      <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
        <ds:RetrievalMethod Type="http://www.w3.org/2001/04/xmlenc#EncryptedKey" URI="#EK"/>
        <EncryptedKey Id="EK" xmlns="http://www.w3.org/2001/04/xmlenc#">
          <EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#rsa-1_5"/>
          <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
            <ds:KeyName>my-rsa-key</ds:KeyName>
	  </ds:KeyInfo>
          <CipherData>
            <CipherValue>
            </CipherValue>
          </CipherData>
          <ReferenceList>
            <DataReference URI="#ED"/>
          </ReferenceList>
        </EncryptedKey>
      </ds:KeyInfo>
      <CipherData>
        <CipherValue>
        </CipherValue>
      </CipherData>
    </EncryptedData>