WrappedGroupKey class final

The group key, sealed to one device at one key epoch.

Inheritance

Constructors

WrappedGroupKey({required String deviceId, required int keyEpoch, required List<int> wrappedBytes, String signedBy = '', List<int> signature = const []})
Creates a wrap row. signedBy and signature are written by DeviceRoster; a wrap without a valid signature is never unwrapped, so a key injected by a non-member (or a revoked member) is never adopted.
const

Properties

deviceId → String
The device this wrap is sealed to.
final
documentId → String
The stable document id for this row inside kDeviceCollection.
no setteroverride
hashCode → int
The hash code for this object.
no setterinherited
keyEpoch → int
The key epoch this wrap carries. Rotation bumps it.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
signature → List<int>
The Ed25519 signature by signedBy over the row's canonical payload.
final
signedBy → String
The Identity.deviceId of the device that wrote and signed this row.
final
wrappedBytes → List<int>
The sealed key, encoded with WrappedKey.toBytes.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited