SilentShardKotlinMultiplatform
Toggle table of contents
native
Target filter
native
Switch theme
Search in API
Skip to content
SilentShardKotlinMultiplatform
duo-initiator
/
com.silencelaboratories.silentshard.duo.initiator
/
DuoSessionNative
Duo
Session
Native
native
class
DuoSessionNative
(
session
:
DuoSession
)
Wrapper around DuoSession providing asynchronous APIs.
Members
Constructors
Duo
Session
Native
Link copied to clipboard
native
constructor
(
session
:
DuoSession
)
Properties
verifying
Key
Link copied to clipboard
native
val
verifyingKey
:
String
Functions
export
Link copied to clipboard
native
suspend
fun
export
(
hostKeyshare
:
ByteArray
,
otherEncryptedKeyshare
:
ByteArray
,
hostEncryptionKey
:
ByteArray
,
otherDecryptionKey
:
ByteArray
)
:
ByteArray
import
Link copied to clipboard
native
suspend
fun
import
(
keysharePrivateKey
:
ByteArray
,
rootChainCode
:
String
)
:
ByteArray
keygen
Link copied to clipboard
native
suspend
fun
keygen
(
)
:
ByteArray
key
Refresh
Link copied to clipboard
native
suspend
fun
keyRefresh
(
keyshare
:
ByteArray
)
:
ByteArray
reconcile
Keyshare
Link copied to clipboard
native
suspend
fun
reconcileKeyshare
(
keyId
:
String
)
:
ByteArray
signature
Link copied to clipboard
native
suspend
fun
signature
(
keyshare
:
ByteArray
,
message
:
String
,
derivationPath
:
String
=
"m"
)
:
ByteArray
verify
Backup
Link copied to clipboard
native
suspend
fun
verifyBackup
(
keyshare
:
ByteArray
,
backupData
:
ByteArray
,
rsaPublicKey
:
ByteArray
,
label
:
String
=
""
)
:
Boolean