IKey.SignAsync(Byte[], String, CancellationToken) IKey.SignAsync(Byte[], String, CancellationToken) IKey.SignAsync(Byte[], String, CancellationToken) Method

Definition

Signs the specified digest.

public System.Threading.Tasks.Task<Tuple<byte[],string>> SignAsync (byte[] digest, string algorithm, System.Threading.CancellationToken token);
abstract member SignAsync : byte[] * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<byte[] * string>
Public Function SignAsync (digest As Byte(), algorithm As String, token As CancellationToken) As Task(Of Tuple(Of Byte(), String))
Parameters
digest
Byte[]

The digest to sign

algorithm
String String String

The algorithm to use

Returns

A Tuple consisting of the signature and the algorithm used

Remarks

If the algorithm is not specified, an implementation should use its default algorithm

Applies to