NskeyRotationOutcome typedef

  1. @experimental
NskeyRotationOutcome = ({NskeyAdvertisement advertisement, int conveyedTo, Set<String> excluded, String namespace, String supersededKid})

What one namespace's rotation did.

conveyedTo may legitimately be zero: a single-enrollment atSign has nobody to push to, and an offline holder picks the generation up by pull instead.

Implementation

@experimental
typedef NskeyRotationOutcome = ({
  String namespace,

  /// The generation this rotation superseded.
  String supersededKid,

  /// The generation now published and sealed to.
  NskeyAdvertisement advertisement,

  /// Key packages the successor private was pushed to.
  int conveyedTo,

  /// The enrollment ids this rotation deliberately did not push to.
  Set<String> excluded,
});