using IdentityShroud.Core.Messages; namespace IdentityShroud.Core.Security.Keys; public abstract class KeyPolicy { public abstract string KeyType { get; } } public interface IKeyProvider { byte[] CreateKey(KeyPolicy policy); void SetJwkParameters(byte[] key, JsonWebKey jwk); }