Перейти к содержанию

Spatium SDK > getEcdsaPublicKey

getEcdsaPublicKey

suspend fun getEcdsaPublicKey(driver: ProtocolKotlin, secretId: String, syncSessionId: String): String

Get a compound public key from an already performed synchronisation session

Return

compound public key, synchronised during that session

  • SeeAlso: ProtocolKotlin/getEcdsaPublicKey(secretId:syncSessionId:)

Example

// Assume an already performed synchronisation procedure

val publicKey = getEcdsaPublicKey(secretId: String, syncSessionId: String)

Parameters

androidJvm

driver ProtocolKotlin implementation
secretId ID (UUID) of a secret used for synchronisation
syncSessionId ID (UUID) of a synchronisation procedure