using System;
using System.Threading;
using System.Threading.Tasks;

namespace StellaOps.Vexer.Attestation.Signing;

public sealed record VexSignedPayload(string Signature, string? KeyId);

public interface IVexSigner
{
    ValueTask<VexSignedPayload> SignAsync(ReadOnlyMemory<byte> payload, CancellationToken cancellationToken);
}
