Table of Contents

Method AddDocumentTimestampAsync

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

AddDocumentTimestampAsync(byte[], PdfTimestampOptions, CancellationToken)

Appends an RFC 3161 document timestamp (subfilter ETSI.RFC3161): an authority attests the entire current document, existing signatures included. The revision is incremental, so those signatures keep verifying.

public static Task<byte[]> AddDocumentTimestampAsync(byte[] input, PdfTimestampOptions options, CancellationToken cancellationToken = default)

Parameters

input byte[]

The PDF to timestamp.

options PdfTimestampOptions

Timestamp options; an authority URL or a token provider is required.

cancellationToken CancellationToken

Cancels the operation.

Returns

Task<byte[]>

The timestamped PDF.

Share