Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/draft-hoyer-keyprov-portable-symmetric-key-container-00/password-encrypted.pskcxml
blob: 41c57f6392f43901a2b5c6788a9a271e09ae1311 (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-00.
  The Value and ValueDigest values were fixed to be valid values when using
  the encryption key as HMAC key.
-->

<SecretContainer
xmlns="http://www.openauthentication.org/OATH/2006/08/PSKC"
xmlns:oath-logo="http://www.openauthentication.org/OATH/2006/08/Logo"
xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.openauthentication.org/OATH/2006/10/PSKC
.\oath_pskc_schema_v1.2" version="1.2">
  <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>
  <Secret SecretAlgorithm="HOTP"  SecretId="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>
    </Secret>
  </Device>
</SecretContainer>