isSignedBy

suspend fun isSignedBy(joiner: DidKey): Boolean

Whether the signature on wire is joiner's over the layout. false, never a throw, for a bad signature or a joiner key whose point is not on the curve.

Throws

when this platform's cryptographic provider cannot run here.


suspend fun isSignedBy(joiner: DidKey, scheme: KeyScheme): Boolean

isSignedBy, checked in scheme rather than always in KeyScheme.P256. A room passes its own DeviceKeyStore.keyScheme, so a room on the real scheme checks with ECDSA whatever was sent.