NamespaceMember class

One enrollment authorised for a namespace, as returned by EnrollmentDirectory.listForNamespace: its access level and the key package of its APKAM keypair.

Enrollment cardinality is 1:1:1 — one enrollment has exactly one APKAM keypair and therefore exactly one key package — so each member has exactly one keyPackage (null unless keyPackageStatus is KeyPackageStatus.present).

Annotations
  • @experimental

Constructors

NamespaceMember({required String enrollmentId, required String access, KeyPackage? keyPackage, KeyPackageStatus? keyPackageStatus})

Properties

access → String
The access level the atServer reports for this enrollment on the queried namespace (e.g. r, rw). A holder of read access still receives the key — reading the data requires it.
final
enrollmentId → String
final
hashCode → int
The hash code for this object.
no setterinherited
keyPackage → KeyPackage?
This enrollment's single key package, or null if there is no usable one (1:1:1). keyPackageStatus says why.
final
keyPackageStatus → KeyPackageStatus
final
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