Method AddDocumentTimestamp
AddDocumentTimestamp(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 byte[] AddDocumentTimestamp(byte[] input, PdfTimestampOptions options, CancellationToken cancellationToken = default)
Parameters
inputbyte[]The PDF to timestamp.
optionsPdfTimestampOptionsTimestamp options; an authority URL or a token provider is required.
cancellationTokenCancellationTokenCancels the operation.
Returns
- byte[]
The timestamped PDF.