verify method

Future<bool> verify()

Verifies that the peer's signature authorized revoking the specified device.

Implementation

Future<bool> verify() async {
  return await _signing.verify(
    message:
        '$revokedDeviceKey|${timestamp.millisecondsSinceEpoch}|$lastValidEventHash|$lastValidSequence',
    signature: peerSignature,
    publicKey: peerKey,
  );
}