Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/encryption/kw-camellia256.pskcxml
blob: 4a6a15540feefa977d019cad924a88a8d162298d (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-camellia256 encrypted value. The encryption key is
  0e187c656c36975b0d6bded79d7089142209457114ce8e6f4ae78339d71114e8 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-camellia256"/>
      <xenc:CipherData>
       <xenc:CipherValue>tCrhhD62tBGCcbsp8GV91+79MhaXTy1MP1SkaT2OLaU=</xenc:CipherValue>
      </xenc:CipherData>
     </EncryptedValue>
    </Secret>
   </Data>
  </Key>
 </KeyPackage>
</KeyContainer>