TLVis a new format supported from Agnos Framework version 3.1.x
RAWis the Agnos Framework's legacy format
TLV Format
TLV PROCESSING is a TLV file starting by a headerand followed by a set of TLV.
TLV PROCESSING | |||
---|---|---|---|
Header (21 bytes) | |||
Version | unsigned char | Value between 0xAA and 0xAF | Current version: 0xAA |
SHA-1 | unsigned char[20] | SHA-1 calculation on the following data | n/a |
Body (variable) | |||
Tag | Length | Value | Example |
variable | AID delimiter. FF33 length is equal to the length of the following TLV | n/a | |
6 | Acquirer identifier. AcquirerIdentifier[0] must be set to a value flagging that it corresponds to a CL AID. 0xC0 or 0xF0 is generally used | n/a | |
0..16 | AID | n/a | |
1 | Application selection indicator | 0x00 or 0x01 | |
2 | Application version (contact only) | ||
1 | Skip TAC/IAC default supported (contact only) | 0x00 or 0x01 | |
1 | Random transaction selection supported (contact only) | 0x00 or 0x01 | |
1 | Velocity checking supported (contact only) | 0x00 or 0x01 | |
1 | Floor limit checking supported (contact only) | 0x00 or 0x01 | |
1 | TAC supported (contact only) | 0x00 or 0x01 | |
5 | TAC denial (contact only) | Any value | |
5 | TAC online (contact only) | Any value | |
5 | TAC default (contact only) | Any value | |
4 | Floor limit (contact only) | ||
1 | Target percentage (contact only) | ||
3 | Threshold value (contact only) | ||
1 | Maximum target percentage (contact only) | ||
1 | Default DDOL supported (contact only) | 0x00 or 0x01 | |
0..252 | DDOL (contact only) | Any value | |
1 | Default TDOL supported (contact only) | 0x00 or 0x01 | |
0..252 | TDOL (contact only) | Any value | |
2 | Transaction currency code (contact only) | ||
1 | Transaction currency exponent (contact only) |
RAW Format
RAW PROCESSING is a (11 + NumberOfAID x 571) byte long binary file followed by a 20 byte long SHA-1 calculation for integrity purposes.
...