agree

open override fun agree(id: String, peerPublicKey: ByteArray): ByteArray(source)

ECDH between holder key id and peerPublicKey inside Android Keystore. A key made without PURPOSE_AGREE_KEY (see Options.holderKeyAgreement), below API 31, or requiring the holder, throws KeyAgreementUnsupportedException: the wallet signs.