ServerReceipt class
Server-signed batch receipt (anti-packet) confirming message sequence numbers stored on cloud.
- Annotations
Constructors
-
ServerReceipt({int version = 1, required Uint8List groupId, required Uint8List author, required List<
SeqRange> ranges, required int issuedAt, required Uint8List serverSig}) -
const
- ServerReceipt.fromCbor(Uint8List bytes)
-
factory
Properties
Methods
-
confirms(
int seq) → bool -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toCoreCbor(
) → Uint8List -
toCoreMap(
) → Map< String, dynamic> -
toFullCbor(
) → Uint8List -
toFullMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
-
verify(
Uint8List serverPublicKey) → Future< bool>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited