fetchPublishedApsk method
Fetches the _apsk enrollmentId of atSign published, with whose it
is; throws WithdrawnSigningKeyException when the atServer has moved it.
Asks the atServer every time unless cached is true. A cached read
returns a value fetched within publicKeyCacheSettings' cacheExpiry as
it was, so it can miss a key rotated, or an enrollment revoked, since.
Implementation
@experimental
Future<PublishedApsk> fetchPublishedApsk(String atSign, String enrollmentId,
{bool cached = false}) async =>
PublishedApsk(
atSign: atSign,
enrollmentId: enrollmentId,
value: await _fetchApsk(atSign, enrollmentId, readCache: cached));