RAWis the Agnos Framework's legacy format (Deprecated)
RAW Format
RAW SUPPORRTED AIDis a (1 + NumberOfSupportedAID x 18) byte long binary file followed by a 20 byte long SHA-1 calculation for integrity purposes.
RAW SUPPORTED_AID | |||
---|---|---|---|
Header (1 byte) | |||
Field | Format | Description | Comment |
NumberOfSupportedAID | unsigned char | Number of AID in the file | – |
Body (NumberOfSupportedAID x 18 bytes) | |||
Field | Format | Description | Comment |
KernelId | unsigned char | Kernel identifier associated with AID | – |
AID | unsigned char[16] | AID value as per payment networks | – |
Length | unsigned char | AID's length | – |
Trailer (20 bytes) | |||
Field | Format | Description | Comment |
SHA-1 | unsigned char[20] | Integrity trailer | Performed on 1 + (NumberOfSupportedAID x 18) previous bytes |