openesim/libs/lpac-jni/src/main/java/net/typeblog/lpac_jni/ApduInterface.kt

12 lines
308 B
Kotlin

package net.typeblog.lpac_jni
/*
* Should reflect euicc_apdu_interface in lpac/euicc/interface.h
*/
sealed interface ApduInterface {
fun connect()
fun disconnect()
fun logicalChannelOpen(aid: ByteArray): Int
fun logicalChannelClose(handle: Int)
fun transmit(tx: ByteArray): ByteArray
}