Click or drag to resize

PdfTimestamperGetTimestampToken Method

A method called when saving the PDF file that takes either the signature field value (in case of a signature timestamp) or the PDF file stream (without Content entry) (in case of a document timestamp) as an input and returns the TimeStampToken as specified in RFC 3161 as updated by RFC 5816.

Namespace: SautinSoft.Pdf.Security
Assembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2025.10.22
Syntax
public byte[] GetTimestampToken(
	Stream content
)

Parameters

content  Stream
Either the signature field value (in case of a signature timestamp) or the PDF file stream (without Content entry) (in case of a document timestamp) for which the TimeStampToken should be retrieved.

Return Value

Byte
The TimeStampToken that is included either as an unsigned attribute of the SignerInfo (in case of a signature timestamp) or as a content of a signature dictionary (whose Type entry has a value of DocTimeStamp) that is a value of a signature field added as an incremental update (in case of a document timestamp).
See Also