preProcessing

abstract fun preProcessing(data: ByteArray): Pair<ByteArray?, Boolean>

Performs pre-processing on the registered kernels (Entry Point Start A).

Return

A pair containing the pre-processing result (TLV stream, see tables below) and a boolean flag indicating whether the transaction should continue.

Start A Outbound for C-2 kernel.

| Tag      | Description                        |
| :------- | :--------------------------------- |
| 0xDFA022 | Number of allowed applications     |
| 0xDF8116 | User interface request data        |
| 0xDF8129 | Outcome parameters set             |

Start A Outbound - Other Kernels.

| Tag      | Description                        |
| :------- | :--------------------------------- |
| 0xDFA022 | Number of allowed applications     |
| 0x9F8205 | User interface request data        |
| 0x9F8210 | Outcome parameters set             |

Parameters

data

Pre-processing data (TLV stream, see table below).

| Tag    | Description                   |
| :----- | :---------------------------- |
| 0x9A   | Transaction date              |
| 0x9C   | Transaction type              |
| 0x5F2A | Transaction currency code     |
| 0x5F36 | Transaction currency exponent |
| 0x9F02 | Amount, authorized            |
| 0x9F03 | Amount, other                 |

Throws

SwitcloudL2Exception