encodeStatus

fun encodeStatus(statusCode: Long): ByteArray

Create a SessionData message (as defined in ISO/IEC 18013-5 9.1.1.4 Procedure) with a status code and no data.

Return

a byte array with the encoded CBOR message

Parameters

statusCode

the intended status code, with value as defined in ISO/IEC 18013-5 Table 20.