Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/yubico/example3.pskcxml
blob: 646abf388aa0cb33f8b6a36ebfba7426e17b43b4 (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
46
47
<?xml version="1.0" encoding="UTF-8"?>

<!--
  Third example from draft-josefsson-keyprov-pskc-yubikey-00 illustrating how
  additional parameters, locking code and unlocking code, can be provided
  through an extension. Note that python-pskc does not expose these
  extensions through its API.
-->

<KeyContainer Version="1.0"
              Id="yk-pskc-283597"
              xmlns="urn:ietf:params:xml:ns:keyprov:pskc">
  <KeyPackage>
    <DeviceInfo>
      <Manufacturer>oath.UB</Manufacturer>
      <SerialNo>283597</SerialNo>
      <StartDate>2009-01-22T00:25:09Z</StartDate>
    </DeviceInfo>
    <CryptoModuleInfo>
      <Id>1</Id>
    </CryptoModuleInfo>
    <Key Id="283597:1"
         Algorithm="http://www.yubico.com/#yubikey-aes">
      <Issuer>ACME Inc.</Issuer>
      <AlgorithmParameters>
        <ResponseFormat Encoding="ALPHANUMERIC" Length="40"/>
      </AlgorithmParameters>
      <Data>
        <Secret>
          <PlainValue>
            K34VFiiu0qar9xWICc9PPA==
          </PlainValue>
        </Secret>
      </Data>
      <UserId>CN=ekhgjhbctrgn, UID=ca62baca62ba</UserId>
      <Extensions>
        <YubiKey xmlns="http://www.yubico.com/#yubikey-aes-ext">
          <YubiKeyConfig Flag="TKTFLAG_APPEND_DELAY1"/>
          <YubiKeyConfig Flag="TKTFLAG_APPEND_CR"/>
          <YubiKeyConfig Flag="CFGFLAG_PACING_10MS"/>
          <YubiKeyLock Code="98566d358630"/>
          <YubiKeyUnlock Code="45bb428ce201"/>
        </YubiKey>
      </Extensions>
    </Key>
  </KeyPackage>
</KeyContainer>