DuoSessionNative

Wrapper around DuoSession providing asynchronous APIs.

Constructors

Link copied to clipboard
constructor(session: DuoSession)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
suspend fun export(hostKeyshare: ByteArray, otherEncryptedKeyshare: ByteArray, hostEncryptionKey: ByteArray, otherDecryptionKey: ByteArray): ByteArray
Link copied to clipboard
suspend fun import(keysharePrivateKey: ByteArray, rootChainCode: String): ByteArray
Link copied to clipboard
suspend fun keygen(): ByteArray
Link copied to clipboard
suspend fun keyRefresh(keyshare: ByteArray): ByteArray
Link copied to clipboard
suspend fun reconcileKeyshare(keyId: String): ByteArray
Link copied to clipboard
suspend fun signature(keyshare: ByteArray, message: String, derivationPath: String = "m"): ByteArray
Link copied to clipboard
suspend fun verifyBackup(keyshare: ByteArray, backupData: ByteArray, rsaPublicKey: ByteArray, label: String = ""): Boolean