Method DownloadEuTrustListAsync
DownloadEuTrustListAsync(string, CancellationToken)
Downloads the EU list of trusted lists, follows every member list it
names, caches the raw documents in cacheDirectory, and
returns the certificates of the listed services. Member lists that fail to
download or parse are skipped, so one unavailable state does not lose the
rest. Cached copies are used without touching the network.
public static Task<IReadOnlyList<X509Certificate2>> DownloadEuTrustListAsync(string cacheDirectory, CancellationToken cancellationToken = default)
Parameters
cacheDirectorystringDirectory receiving the cached lists.
cancellationTokenCancellationTokenCancels the operation.