keyAgreement0

open suspend override fun keyAgreement0(otherPublicKey: EcPublicKey, keyContext: ByteString): ByteString

Initiates key agreement (ECDH) with a cloud key.

Return

the nonce generated by the server to be signed by the companion local key.

Parameters

otherPublicKey

the other party's public key.

keyContext

the encrypted server state for the key.