Table of Contents

Method DownloadAdobeTrustListAsync

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

DownloadAdobeTrustListAsync(string, CancellationToken)

Downloads the Adobe Approved Trust List, caches the raw document in cacheDirectory, and returns its certificates. When the cached copy exists it is used without touching the network.

public static Task<IReadOnlyList<X509Certificate2>> DownloadAdobeTrustListAsync(string cacheDirectory, CancellationToken cancellationToken = default)

Parameters

cacheDirectory string

Directory receiving the cached list.

cancellationToken CancellationToken

Cancels the operation.

Returns

Task<IReadOnlyList<X509Certificate2>>
Share