namespace StellaOps.Cryptography.Kms;
///
/// Represents a FIDO2 authenticator capable of producing signatures over digests.
///
public interface IFido2Authenticator
{
///
/// Performs a high-assurance signing operation using the configured FIDO2 credential.
///
/// Credential identifier as configured in the relying party.
/// Digest of the payload (typically SHA-256) to sign.
/// Cancellation token.
/// Signature bytes.
Task SignAsync(string credentialId, ReadOnlyMemory digest, CancellationToken cancellationToken = default);
}