fetchAatlStore static method

Future<PdfTrustStore> fetchAatlStore({
  1. required Future<Uint8List> fetch(
    1. Uri url
    ),
  2. DateTime? now,
})

Downloads Adobe's AATL through fetch and returns its roots - see fetchAatl.

Implementation

static Future<PdfTrustStore> fetchAatlStore({
  required Future<Uint8List> Function(Uri url) fetch,
  DateTime? now,
}) async =>
    (await fetchAatl(fetch: fetch, now: now)).toTrustStore();