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

getEcdsaPublicKey

getEcdsaPublicKey(driver:secretId:syncSessionId:)

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

Get a compound public key from an already performed synchronisation session

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

Example

 // Assume an already performed synchronisation procedure

 let publicKey = await getEcdsaPublicKey(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