Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/encryption/kw-camellia128.pskcxml
blob: 8927c36f3647aeae093d24bd830ce8066d50b22e (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-camellia128 encrypted value. The encryption key is
  e35b135a09bfff8b314a5a0c32193c37 and the resulting plaintext should be
  12345678901234567890.
-->

<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-camellia128"/>
      <xenc:CipherData>
       <xenc:CipherValue>WB128TBZ1WGZzPNJNbwNrWRqQceU7M4FQSJPy2nw6iI=</xenc:CipherValue>
      </xenc:CipherData>
     </EncryptedValue>
    </Secret>
   </Data>
  </Key>
 </KeyPackage>
</KeyContainer>