# Microsoft.AspNetCore.DataProtection.KeyManagement

``` diff
 namespace Microsoft.AspNetCore.DataProtection.KeyManagement {
+    public interface IDeletableKeyManager : IKeyManager {
+        bool CanDeleteKeys { get; }
+        bool DeleteKeys(Func<IKey, bool> shouldDelete);
+    }
     public sealed class XmlKeyManager : IInternalXmlKeyManager, IKeyManager {
+        public bool CanDeleteKeys { get; }
+        public bool DeleteKeys(Func<IKey, bool> shouldDelete);
     }
 }
```

