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
endpointUriThe absolute TSA endpoint URI. Must not be null.
httpClientProviderIHttpClientProviderOptional TSA-specific HTTP client provider.
Exceptions
- ArgumentNullException
endpointis null.- ArgumentException
endpointis not absolute.
Properties
Endpoint
The absolute TSA endpoint URI.
public Uri Endpoint { get; }
Property Value
HttpClientProvider
Optional TSA-specific IHttpClientProvider. When null, the builder-wide provider is used as fallback.
public IHttpClientProvider? HttpClientProvider { get; }