Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/encryption/tripledes-cbc.pskcxml
blob: 96358f57fff62b25da1c1142ae01e8ed0e3e6f0b (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
31
32
33
34
35
36
37
38
<?xml version="1.0" encoding="UTF-8"?>

<!--
  Test that holds an tripledes-cbc encrypted value. Key is
  12345678901234567890123456789012.
-->

<KeyContainer Version="1.0"
  xmlns="urn:ietf:params:xml:ns:keyprov:pskc"
  xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
  xmlns:xenc="http://www.w3.org/2001/04/xmlenc#">
 <EncryptionKey>
  <ds:KeyName>Pre-shared-key</ds:KeyName>
 </EncryptionKey>
 <MACMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#hmac-sha512">
  <MACKey>
   <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#tripledes-cbc"/>
   <xenc:CipherData>
    <xenc:CipherValue>SVZJVklWSVbkU3i5koQy9wRwmtLzydqFV18QfbCMBR8=</xenc:CipherValue>
   </xenc:CipherData>
  </MACKey>
 </MACMethod>
 <KeyPackage>
  <Key>
   <Data>
    <Secret>
     <EncryptedValue>
      <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#tripledes-cbc"/>
      <xenc:CipherData>
       <xenc:CipherValue>SVYxMjM0NTbvR25//t5tAuWfL+6ma90GGESqe3AlrJM=</xenc:CipherValue>
      </xenc:CipherData>
     </EncryptedValue>
     <ValueMAC>4eM8sZbswb+q4q4qZ18q2Af5LEIzZy4M1Mz7XF6Gnc8KozCp87ykK10uOHZpdKLrc9j8Yz0dw9CtQUVcijQKgA==</ValueMAC>
    </Secret>
   </Data>
  </Key>
 </KeyPackage>
</KeyContainer>