Interface ITimestampClient
- Namespace
- SimpleSign.Core.Crypto
- Assembly
- SimpleSign.Core.dll
RFC 3161 client for timestamp authority (TSA).
public interface ITimestampClient
Methods
GetTimestampAsync(ReadOnlyMemory<byte>, HashAlgorithmName, CancellationToken)
Requests a timestamp token for the provided bytes.
Task<byte[]> GetTimestampAsync(ReadOnlyMemory<byte> dataToTimestamp, HashAlgorithmName hashAlgorithm, CancellationToken cancellationToken = default)
Parameters
dataToTimestampReadOnlyMemory<byte>hashAlgorithmHashAlgorithmNamecancellationTokenCancellationToken