13 lines
336 B
C#
13 lines
336 B
C#
using System;
|
|
using System.Threading;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace StellaOps.Excititor.Attestation.Signing;
|
|
|
|
public sealed record VexSignedPayload(string Signature, string? KeyId);
|
|
|
|
public interface IVexSigner
|
|
{
|
|
ValueTask<VexSignedPayload> SignAsync(ReadOnlyMemory<byte> payload, CancellationToken cancellationToken);
|
|
}
|