Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/encryption/kw-aes128.pskcxml
blob: 29ba6de12710e3094d697ff5c80706f1743cba82 (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
<?xml version="1.0" encoding="UTF-8"?>

<!--
  Test that holds an kw-aes128 encrypted value. Key is
  000102030405060708090A0B0C0D0E0F and the resulting plaintext should be
  00112233445566778899AABBCCDDEEFF.
-->

<KeyContainer Version="1.0"
  xmlns="urn:ietf:params:xml:ns:keyprov:pskc"
  xmlns:xenc="http://www.w3.org/2001/04/xmlenc#">
 <EncryptionKey>
  <KeyName xmlns="http://www.w3.org/2000/09/xmldsig#">Pre-shared-key</KeyName>
 </EncryptionKey>
 <KeyPackage>
  <Key>
   <Data>
    <Secret>
     <EncryptedValue>
      <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#kw-aes128"/>
      <xenc:CipherData>
       <xenc:CipherValue>H6aLCoEStEeu80vY+1p7gp0+hiNx0s/l</xenc:CipherValue>
      </xenc:CipherData>
     </EncryptedValue>
    </Secret>
   </Data>
  </Key>
 </KeyPackage>
</KeyContainer>