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

getEddsaPublicKey

getEddsaPublicKey(driver:secretId:syncSessionId:)

public func getEddsaPublicKey(driver: ProtocolSwift, secretId: String, syncSessionId: String) async throws -> String

Get a compound public key from an already performed synchronisation session

  • SeeAlso: SpatiumProtocol/getEddsaPublicKey(secretId:syncSessionId:)

Example

 // Assume an already performed synchronisation procedure

 let publicKey = await getEddsaPublicKey(secretId: String, syncSessionId: String)

Parameters

Name Description
driver ProtocolSwift implementation
secretId ID (UUID) of a secret used for synchronisation
syncSessionId ID (UUID) of a synchronisation procedure

#### Returns

String

compound public key, synchronised during that session