TrioSessionNative

Wrapper around TrioSession providing asynchronous APIs.

Mirrors the Kotlin-facing TrioSession surface for Swift / Objective-C consumers. All methods unwrap Result into direct returns / throws.

Constructors

Link copied to clipboard
constructor(session: TrioSession)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
suspend fun delete(keyId: String)
Link copied to clipboard
suspend fun export(keyId: String): ByteArray
Link copied to clipboard
suspend fun import(keysharePrivateKey: ByteArray): String
Link copied to clipboard
suspend fun keygen(): String
Link copied to clipboard
suspend fun preSign(keyId: String): ByteArray
Link copied to clipboard
suspend fun preSignFinal(preSignature: ByteArray, message: String, derivationPath: String = "m"): ByteArray
Link copied to clipboard
suspend fun reconcile(keyId: String): ByteArray
Link copied to clipboard
suspend fun recover(keysharePublicKey: ByteArray): String
Link copied to clipboard
suspend fun refresh(keyId: String): ByteArray
Link copied to clipboard
suspend fun sign(keyId: String, message: String, derivationPath: String = "m"): ByteArray