Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/draft-hoyer-keyprov-portable-symmetric-key-container-01/password-encrypted.pskcxml
blob: 4fc951137a1d7f4956ac483a318ff452e25e0803 (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
39
40
41
42
43
44
45
<?xml version="1.0" encoding="UTF-8"?>

<!--
  Symmetric key container with a single password-based encrypted HOTP secret
  key example from section 10.2 of
  draft-hoyer-keyprov-portable-symmetric-key-container-01. The Value and
  ValueDigest values were fixed to be valid values when using the encryption
  key as HMAC key and the file version number was removed.
-->

<KeyContainer
xmlns="urn:ietf:params:xml:ns:keyprov:container"
xmlns:logo="urn:ietf:params:xml:ns:keyprov:logo"
xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:ietf:params:xml:ns:keyprov:container
.\keyprov_pskc_schema_v1.1.xsd">
  <EncryptionMethod algorithm="PBE-3DES112-CBC">
    <PBESalt>y6TzckeLRQw=</PBESalt>
    <PBEIterationCount>999</PBEIterationCount>
  </EncryptionMethod>
  <DigestMethod algorithm="HMAC-SHA1"></DigestMethod>
  <Device>
    <DeviceId>
      <Manufacturer>Token Manufacturer</Manufacturer>
      <SerialNo>98765432187</SerialNo>
      <Expiry>01/01/2008</Expiry>
    </DeviceId>
  <Key KeyAlgorithm="HOTP"  KeyId="77654321870">
    <Issuer>Credential Issuer</Issuer>
    <Usage>
      <ResponseFormat format="DECIMAL" length="6"/>
    </Usage>
    <FriendlyName>MySecondToken</FriendlyName>
      <Data Name="SECRET">
<Value>F/CY93NYc/SvmxT3oB6PzG7p6zpG92/t</Value>
      <ValueDigest>hN793ZE7GM6yCM6gz9OKNRzibhg=</ValueDigest>
      </Data>
      <Data Name="COUNTER">
<Value>VVBYqRF1QSpetvIB2vBAzw==</Value>
      <ValueDigest>6clqJvT9l0xIZtWSch2t6zr0IwU=</ValueDigest>
      </Data>
    </Key>
  </Device>
</KeyContainer>