preProcessing

abstract fun preProcessing(trd: ByteArray): ByteArray

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

Return

Pre-processing result (TLV stream, see tables below).

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

input

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

or any derived exception class.