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
messagestring
TimestampException(string, Exception)
Creates a new instance with the specified message and inner exception.
public TimestampException(string message, Exception innerException)
Parameters
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
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
messagestringA description of the timestamp failure.
tsaUrlUriURL of the timestamp authority.
httpStatusCodeint?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; }