SilentShardApple

sealed class SilentShardApple

Asynchronous wrapper around SilentShard for Apple platforms. This wrapper provides suspend APIs and creates ECDSA and EdDSA instances from provided libraries.

Inheritors

Types

Link copied to clipboard
class ECDSA(ecdsaLibrary: ECDSALibrary) : SilentShardApple
Link copied to clipboard
class EdDSA(eddsaLibrary: EdDSALibrary) : SilentShardApple

Functions

Link copied to clipboard
fun createTrioSession(messageSigner: MessageSigner, cloudVerifyingKey: String, websocketConfig: WebsocketConfig, storageClient: StorageClient): TrioSessionNative
fun createTrioSession(messageSigner: MessageSigner, cloudVerifyingKey: String, storageClient: StorageClient, networkClient: NetworkClient, actionProvider: TrioNetworkActionProvider): TrioSessionNative
Link copied to clipboard
suspend fun deriveChildPublicKey(keyshare: ByteArray, derivationPath: String): ByteArray
Link copied to clipboard
suspend fun getKeyshareKeyId(keyshare: ByteArray): ByteArray
Link copied to clipboard
suspend fun getKeysharePublicKey(keyshare: ByteArray): ByteArray