isLocalGroupEpochStale

abstract suspend fun isLocalGroupEpochStale(mlsContext: <Error class: unknown class>, groupID: <Error class: unknown class>, currentRemoteEpoch: <Error class: unknown class>): <Error class: unknown class><<Error class: unknown class>, Boolean>

Determines whether the known group epoch is stale (outdated), when compared to the provided epoch.

Return

An instance of Either. Returns Either.Right containing true if the provided epoch is outdated, or false otherwise. Returns Either.Left containing CoreFailure if any error occurs.

Parameters

mlsContext

The MLS (Messaging Layer Security) core crypto context.

groupID

The ID of the group being evaluated.

currentRemoteEpoch

The current epoch of the group to compare against.