KeyPackageStatus enum

Why a NamespaceMember has no usable key package — or that it has one.

A null keyPackage on its own cannot be acted on: these outcomes call for opposite responses, and only one of them is a problem anybody can fix.

Inheritance
Available extensions
Annotations
  • @experimental

Values

present → const KeyPackageStatus

Present and verified — safe to seal to.

absent → const KeyPackageStatus

The enrollment advertised none, which is not an error.

rejected → const KeyPackageStatus

Advertised and refused — not a map, signed by a different enrollment than the record it appears on, or a signature that does not verify against that enrollment's _apsk. A caller refuses rather than skips.

unsupported → const KeyPackageStatus

Signed, and genuinely this enrollment's, but shaped in a way this version cannot read. Behaves like absent rather than rejected: nobody here can fix it.

unverified → const KeyPackageStatus

Advertised, but the check against its enrollment's _apsk could not be completed, because the _apsk could not be fetched. Nothing is known about the package either way: a caller does not seal to it now, and the same package may verify once the atServer answers.

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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

Constants

values → const List<KeyPackageStatus>
A constant List of the values in this enum, in order of their declaration.