Amadis

UPDATE CONDITIONS

  • TLV is the format supported from Agnos Framework version 3.2.x

TLV Format

TLV UPDATE CONDITIONS is a TLV file starting by a header and followed by a list of TLV.

Example of an update condition file name (for CUP kernel): UC_C7

TLV UPDATE CONDITIONS

TLV UPDATE CONDITIONS

Header (24 bytes)

Field

Length

Description

Version

1 byte

Value between 0xAA and 0xAF

SHA-1

20 bytes

SHA calculation on the following data

Body (variable)

Tag

Length

Value

FF38

variable

Update conditions delimiter. FF38 length is equal to the length of the following set of TLV

Any tag value supported by Agnos

01

Corresponding update conditions as per the set of values described below

Set of possible update conditions values for any tags is:

  • 0x00: tag is skipped and not updated in AgnosDB

  • 0x01: tag is updated on K in AgnosDB (configuration)

  • 0x08: tag updated on RA (Response APDU) in AgnosDB.

  • 0x09: tag updated on K/RA in AgnosDB (configuration and Card Response APDUs)

  • 0x0F: tag is always updated in AgnosDB