Table of Contents

Class TimestampOptions

Namespace
SimpleSign.Core.Signing
Assembly
SimpleSign.Core.dll

Configuration for the signature timestamp (TSA) required by B-T and higher.

public sealed record TimestampOptions : IEquatable<TimestampOptions>
Inheritance
TimestampOptions
Implements
Inherited Members

Constructors

TimestampOptions(Uri, IHttpClientProvider?)

Creates a new instance with the specified TSA endpoint.

public TimestampOptions(Uri endpoint, IHttpClientProvider? httpClientProvider = null)

Parameters

endpoint Uri

The absolute TSA endpoint URI. Must not be null.

httpClientProvider IHttpClientProvider

Optional TSA-specific HTTP client provider.

Exceptions

ArgumentNullException

endpoint is null.

ArgumentException

endpoint is not absolute.

Properties

Endpoint

The absolute TSA endpoint URI.

public Uri Endpoint { get; }

Property Value

Uri

HttpClientProvider

Optional TSA-specific IHttpClientProvider. When null, the builder-wide provider is used as fallback.

public IHttpClientProvider? HttpClientProvider { get; }

Property Value

IHttpClientProvider