using System.Threading.Tasks;
namespace CellularManagement.Application.Services;
///
/// 密钥轮换服务接口
///
public interface IKeyRotationService
{
///
/// 初始化密钥轮换服务
///
Task InitializeAsync();
///
/// 获取当前密钥
///
string GetCurrentKey();
///
/// 获取下一个密钥
///
string GetNextKey();
///
/// 轮换密钥
///
Task RotateKeyAsync();
///
/// 验证密钥是否需要轮换
///
bool ShouldRotateKey();
}