VerbEnrollmentDirectory class

EnrollmentDirectory backed by the atServer's enroll:listns verb.

Wire shape: the server returns one flat record per approved enrollment authorised for the namespace (1:1:1 — no nested apkam[] array). Each record carries the enrollment's access level, its single APKAM public key, and its opaque metadata map (stored verbatim by the server from the enrollment's enroll:request). The enrollment's single key package lives directly under metadata.keyPackage (the payload itself — no format-id sub-key):

enroll:listns:<ns>
  -> data:[{"enrollmentId":..,"access":"rw","apkamPubKey":..,
            "metadata":{"keyPackage":{"v":1,"createdAt":..,"keys":[..]}}}]
Implemented types
Annotations
  • @experimental

Constructors

VerbEnrollmentDirectory(AtClient atClient)

Properties

atClient AtClient
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

listForNamespace(String namespace, {Set<String> excludeEnrollmentIds = const {}}) Future<List<NamespaceMember>>
The enrollments authorised for namespace (the caller's own enrollment must hold at least read access — the atServer gates the verb), each with the key package to seal to. excludeEnrollmentIds drops revoked enrollments before they ever enter a roster.
override
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