using IdentityShroud.Core.Security.Keys.Rsa; namespace IdentityShroud.Core.Security.Keys; public class KeyProviderFactory : IKeyProviderFactory { public IKeyProvider CreateProvider(string keyType) { switch (keyType) { case "RSA": return new RsaProvider(); default: throw new NotImplementedException(); } } }