Table of Contents

Method DownloadEuTrustListAsync

Namespace
LMKit.Document.Pdf
Assembly
LM-Kit.NET.dll

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

cacheDirectory string

Directory receiving the cached lists.

cancellationToken CancellationToken

Cancels the operation.

Returns

Task<IReadOnlyList<X509Certificate2>>
Share