keyAgreement1

open suspend override fun keyAgreement1(signature: EcSignature, passphrase: String?): ByteString

Completes key agreement (ECDH) with a cloud key.

Return

the computed shared secret Zab.

Parameters

signature

the signature over the server nonce made with the companion local key.

passphrase

the passphrase if required for the key, or null.

Throws

if the passphrase is missing or incorrect.

if too many failed passphrase attempts occurred.