RAW is the Agnos Framework's legacy format
RAW Format
RAW COMBINIATION is a (1 + NumberOfCombination x 20) byte long binary file followed by a 20 byte long SHA-1 calculation for integrity purposes.
RAW COMBINATION | |||
---|---|---|---|
Header (1 byte) | |||
Field | Format | Description | Comment |
NumberOfCombination | unsigned char | Number of combinations in the file | – |
Body (NumberOfCombination x 20 bytes) | |||
Field | Format | Description | Comment |
KernelId | unsigned char | As per payment networks | – |
AIDId | unsigned char | AID order number in PROCESSING | – |
TransactionType | unsigned char | As per Agnos enumeration | To do |
Trailer (20 bytes) | |||
Field | Format | Description | Comment |
SHA-1 | unsigned char[20] | Integrity trailer | Performed on 1 + (NumberOfCombination x 20) previous bytes |