Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/draft-hoyer-keyprov-portable-symmetric-key-container-00/non-encrypted.pskcxml
blob: 3421a84349339bf876bd7e6deaed8155e154822a (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
<?xml version="1.0" encoding="UTF-8"?>

<!--
  Symmetric key container with a single non-encrypted HOTP secret key example
  from section 10.1 of
  draft-hoyer-keyprov-portable-symmetric-key-container-00. The COUNTER
  value was modified to be a valid big endian number 12.
-->

<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.xsd" version="1.2">
  <EncryptionMethod algorithm="NONE"/>
  <DigestMethod algorithm="HMAC-SHA1"></DigestMethod>
  <Device>
    <DeviceId>
      <Manufacturer>Token Manufacturer</Manufacturer>
      <SerialNo>98765432187</SerialNo>
      <Expiry>01/01/2008</Expiry>
    </DeviceId>
    <Secret SecretAlgorithm="HOTP"  SecretId="98765432187">
      <Issuer>Credential Issuer</Issuer>
      <Usage>
       <ResponseFormat format="DECIMAL" length="6"/>
      </Usage>
      <FriendlyName>MyFirstToken</FriendlyName>
      <Data Name="SECRET">
        <Value>WldjTHZwRm9YTkhBRytseDMrUnc=</Value>
        <ValueDigest>WldjTHZwRm9YTkhBRytseDM=</ValueDigest>
      </Data>
      <Data Name="COUNTER">
        <Value>AAAAAAAAAAw=</Value>
        <ValueDigest>WldjTHZwRm9YTkhBRytseDM=</ValueDigest>
      </Data>
    </Secret>
  </Device>
</SecretContainer>