As noted in the previous TC meeting, I've updated the XML files and the corresponding spec changes are minor (the spec wasn't clear in terms of how the handling was done - the profile test cases covered the details). The zip file contains the test cases updated, the markup file the important changes in wd02 and the full wd02 word doc.
The associated changed test cases for v3.2 with the updated XML moving items from the XML element attributes into standard nested XML elements (like all the other fields) has been performed.
Basically this format is the new format for 3.2:
<C_GetTokenInfo rv="OK">
<TokenInfo>
<label value="token1 "/>
<ManufacturerID value="OASIS PKCS#11 TC "/>
<model value="v3.1 "/>
<serialNumber value="0000000000000000"/>
<Flags value="RNG|LOGIN_REQUIRED|USER_PIN_INITIALIZED|RESTORE_KEY_NOT_NEEDED|TOKEN_INITIALIZED"/>
<MaxSessionCount value="0"/>
<SessionCount value="0"/>
<MaxRwSessionCount value="0"/>
<RwSessionCount value="0"/>
<MaxPinLen value="255"/>
<MinPinLen value="4"/>
<TotalPublicMemory value="0"/>
<FreePublicMemory value="0"/>
<TotalPrivateMemory value="0"/>
<FreePrivateMemory value="0"/>
<HardwareVersion major="1" minor="0"/>
<FirmwareVersion major="1" minor="0"/>
<utcTime value="2020102811572500"/>
</TokenInfo>
</C_GetTokenInfo>
Compared to the older 3.1 format which had:
<C_GetTokenInfo rv="OK">
<Info MaxSessionCount="0" SessionCount="0" MaxRwSessionCount="0" RwSessionCount="0" MaxPinLen="255" MinPinLen="4" TotalPublicMemory="0" FreePublicMemory="0" TotalPrivateMemory="0" FreePrivateMemory="0">
<label value="token1 "/>
<ManufacturerID value="OASIS PKCS#11 TC "/>
<model value="v3.1 "/>
<serialNumber value="0000000000000000"/>
<Flags value="RNG|LOGIN_REQUIRED|USER_PIN_INITIALIZED|RESTORE_KEY_NOT_NEEDED|TOKEN_INITIALIZED"/>
<HardwareVersion major="1" minor="0"/>
<FirmwareVersion major="1" minor="0"/>
<utcTime value="2020102811572500"/>
</Info>
</C_GetTokenInfo>
As I noted in the call, this is more consistent with the rest of the handling and much more like the C structures.
Tim.