PdfTimestampOptions Class

The options of a document time stamp (ISO 32000-2, 12.8.5): the RFC 3161 time stamp authority and the field of the time stamp.

public sealed class PdfTimestampOptions

Constructors

NameDescription
PdfTimestampOptions(Uri)Initializes a new instance of the PdfTimestampOptions class.

PdfTimestampOptions(Uri)

PdfTimestampOptions.cs

Initializes a new instance of the PdfTimestampOptions class.

public PdfTimestampOptions(Uri timestampAuthority)

Parameters

timestampAuthority Uri
The URL of the RFC 3161 time stamp authority.

Properties

NameDescription
FieldNameGets the name of the field of the time stamp. The default is Signature followed by the first number not used.
HashAlgorithmGets the digest algorithm of the time stamp. The default is SHA-256.
HttpClientGets the client the time stamp request is sent with; null for a client of the library.
ReservedSizeGets the bytes reserved for the time stamp token in the file; 0 (the default) for 16 KiB.
TimestampAuthorityGets the URL of the RFC 3161 time stamp authority.

Gets the name of the field of the time stamp. The default is Signature followed by the first number not used.

public string? FieldName { get; init; }

Property value

string?

Gets the digest algorithm of the time stamp. The default is SHA-256.

public HashAlgorithmName HashAlgorithm { get; init; }

Property value

HashAlgorithmName

Gets the client the time stamp request is sent with; null for a client of the library.

public HttpClient? HttpClient { get; init; }

Property value

HttpClient?

Gets the bytes reserved for the time stamp token in the file; 0 (the default) for 16 KiB.

public int ReservedSize { get; init; }

Property value

int

TimestampAuthority

PdfTimestampOptions.cs

Gets the URL of the RFC 3161 time stamp authority.

public Uri TimestampAuthority { get; }

Property value

Uri