File: integers.pskcxml

package info (click to toggle)
python-pskc 1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,144 kB
  • sloc: python: 1,637; xml: 151; makefile: 11
file content (47 lines) | stat: -rw-r--r-- 1,740 bytes parent folder | download | duplicates (5)
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
39
40
41
42
43
44
45
46
47
<?xml version="1.0" encoding="UTF-8"?>

<!--
  This test file contains various ways of storing integer values.

  Test that holds an aes128-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>
 <!-- value 831791 as plain value ASCII encoded -->
 <KeyPackage><Key><Data><Counter>
  <PlainValue>831791</PlainValue>
 </Counter></Data></Key></KeyPackage>
 <!-- value 709791 ASCII encoded and then base64 encoded -->
 <KeyPackage><Key><Data><Counter>
  <PlainValue>NzA5Nzkx</PlainValue>
 </Counter></Data></Key></KeyPackage>
 <!-- value 405834 big endian encoded and then base64 encoded -->
 <KeyPackage><Key><Data><Counter>
  <PlainValue>AAYxSg==</PlainValue>
 </Counter></Data></Key></KeyPackage>
 <!-- value 298507 ASCII encoded and then encrypted -->
 <KeyPackage><Key><Data><Counter>
  <EncryptedValue>
   <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#aes128-cbc"/>
   <xenc:CipherData>
    <xenc:CipherValue>I9Ro0yqZSyNhPY43+fZue7JvyPxbAqtNPuFiu3HprxY=</xenc:CipherValue>
   </xenc:CipherData>
  </EncryptedValue>
 </Counter></Data></Key></KeyPackage>
 <!-- value 961392 big endian encoded and then encrypted -->
 <KeyPackage><Key><Data><Counter>
  <EncryptedValue>
   <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#aes128-cbc"/>
   <xenc:CipherData>
    <xenc:CipherValue>juW3FkXwJwOoyJJ24vfY+ug/J3qAnaEMrhDeJgAMWMg=</xenc:CipherValue>
   </xenc:CipherData>
  </EncryptedValue>
 </Counter></Data></Key></KeyPackage>
</KeyContainer>