Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/yubico/example2.pskcxml
blob: 31c52bc73a1ae8a1a2c6d5a4bf4151b09d39a8b0 (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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<?xml version="1.0" encoding="UTF-8"?>

<!--
  Second example from draft-josefsson-keyprov-pskc-yubikey-00 illustrating
  how both slots can be programmed at the same time.
-->

<KeyContainer Version="1.0"
              Id="yk-pskc-283598"
              xmlns="urn:ietf:params:xml:ns:keyprov:pskc">
  <KeyPackage>
    <DeviceInfo>
      <Manufacturer>oath.UB</Manufacturer>
      <SerialNo>283598</SerialNo>
      <StartDate>2009-01-22T00:25:10Z</StartDate>
    </DeviceInfo>
    <CryptoModuleInfo>
      <Id>1</Id>
    </CryptoModuleInfo>
    <Key Id="283598:1"
         Algorithm="http://www.yubico.com/#yubikey-aes">
      <Issuer>ACME Inc.</Issuer>
      <AlgorithmParameters>
        <ResponseFormat Encoding="ALPHANUMERIC" Length="44"/>
      </AlgorithmParameters>
      <Data>
        <Secret>
          <PlainValue>
            Vpg1bTCGjEIB4m9mxYK7RQ==
          </PlainValue>
        </Secret>
      </Data>
      <UserId>CN=ekhgjhbctrgn, UID=ca62baca62ba</UserId>
    </Key>
  </KeyPackage>
  <KeyPackage>
    <DeviceInfo>
      <Manufacturer>oath.UB</Manufacturer>
      <SerialNo>283598</SerialNo>
      <StartDate>2009-01-22T00:25:10Z</StartDate>
    </DeviceInfo>
    <CryptoModuleInfo>
      <Id>2</Id>
    </CryptoModuleInfo>
    <Key Id="283598:2"
         Algorithm="http://www.yubico.com/#yubikey-aes">
      <Issuer>ACME Inc.</Issuer>
      <AlgorithmParameters>
        <ResponseFormat Encoding="ALPHANUMERIC" Length="44"/>
      </AlgorithmParameters>
      <Data>
        <Secret>
          <PlainValue>
            OIkrgqvxgHeIRY/FpRZcgA==
          </PlainValue>
        </Secret>
      </Data>
      <UserId>CN=ekhgjhbctrgn, UID=ca62baca62ba</UserId>
    </Key>
  </KeyPackage>
</KeyContainer>