save progress
This commit is contained in:
@@ -16,6 +16,14 @@ public interface IEventSigner
|
||||
/// <returns>The DSSE signature string.</returns>
|
||||
string Sign(TimelineEvent timelineEvent);
|
||||
|
||||
/// <summary>
|
||||
/// Signs binary content asynchronously and returns the signature.
|
||||
/// </summary>
|
||||
/// <param name="content">The content to sign.</param>
|
||||
/// <param name="cancellationToken">Cancellation token.</param>
|
||||
/// <returns>The signature string.</returns>
|
||||
Task<string> SignAsync(byte[] content, CancellationToken cancellationToken = default);
|
||||
|
||||
/// <summary>
|
||||
/// Verifies a timeline event signature.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user