execute

suspend fun execute(isoDep: IsoDep): SignResult

Execute the signing session on the given IsoDep tag.

This is a suspending function — call it from a coroutine. It runs on Dispatchers.IO internally and is safe to call from the main thread.

Return

SignResult containing the raw signature and certificate.

Parameters

isoDep

The IsoDep tag received from ro.eidkit.sdk.nfc.NfcManager.handleIntent. Do not call connect() before passing it — the SDK manages the connection lifecycle.

Throws

if sign was not called before execute.

on any card or configuration error.