transmitApdu

abstract fun transmitApdu(commandApdu: ByteArray): ByteArray

Transmits an Application Protocol Data Unit (APDU) command to the smart card and receives the response.

Return

The response APDU received from the smart card.

Since

1.0.0

Parameters

commandApdu

The command APDU to be transmitted.

Throws

If an I/O error occurs while communicating with the reader.

If an I/O error occurs while communicating with the card.