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

Spatium SDK > getEddsaPublicKey

getEddsaPublicKey

suspend fun getEddsaPublicKey(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: SpatiumProtocol/getEddsaPublicKey(secretId:syncSessionId:)

Example

// Assume an already performed synchronisation procedure

val publicKey = getEddsaPublicKey(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