Method RequestAsync
RequestAsync(String, HashAlgorithmName, Byte[])
Requests a trusted timestamp from the given TSA service
Declaration
public static Task<(TimeStampResponse response, Exception httpException)> RequestAsync(string requestUri, HashAlgorithmName hashAlgorithmName, byte[] digest)
Parameters
Type | Name | Description |
---|---|---|
System.String | requestUri | The URI of the TSA service. |
System.Security.Cryptography.HashAlgorithmName | hashAlgorithmName | The algorithm that was used for calculating the digest. |
System.Byte[] | digest | The digest. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.ValueTuple<Org.BouncyCastle.Tsp.TimeStampResponse, System.Exception>> |