Table of Contents

Class TimestampException

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

Thrown when a timestamp authority (TSA) operation fails — for example, when the TSA is unreachable, returns an invalid response, or the response nonce does not match.

public sealed class TimestampException : SigningException, ISerializable
Inheritance
TimestampException
Implements
Inherited Members

Constructors

TimestampException()

Creates a new instance with no message.

public TimestampException()

TimestampException(string)

Creates a new instance with the specified message.

public TimestampException(string message)

Parameters

message string

TimestampException(string, Exception)

Creates a new instance with the specified message and inner exception.

public TimestampException(string message, Exception innerException)

Parameters

message string
innerException Exception

TimestampException(string, Exception, Uri?, int?)

Creates a new instance with the specified message, inner exception, and TSA details.

public TimestampException(string message, Exception innerException, Uri? tsaUrl, int? httpStatusCode = null)

Parameters

message string
innerException Exception
tsaUrl Uri
httpStatusCode int?

TimestampException(string, Uri?, int?)

Creates a new instance with the specified message and TSA details.

public TimestampException(string message, Uri? tsaUrl, int? httpStatusCode = null)

Parameters

message string

A description of the timestamp failure.

tsaUrl Uri

URL of the timestamp authority.

httpStatusCode int?

HTTP status code from the TSA response, if available.

Properties

HttpStatusCode

HTTP status code returned by the TSA, if available.

public int? HttpStatusCode { get; }

Property Value

int?

TsaUrl

URL of the timestamp authority that was contacted.

public Uri? TsaUrl { get; }

Property Value

Uri