# Microsoft.AspNetCore.DataProtection.KeyManagement

``` diff
 namespace Microsoft.AspNetCore.DataProtection.KeyManagement {
     public interface IKeyManager {
-        [RequiresUnreferencedCode(TrimmerWarning.Message)]
         IReadOnlyCollection<IKey> GetAllKeys();
     }
     public sealed class XmlKeyManager : IInternalXmlKeyManager, IKeyManager {
-        [RequiresUnreferencedCode(TrimmerWarning.Message)]
         public IReadOnlyCollection<IKey> GetAllKeys();
-        [RequiresUnreferencedCode(TrimmerWarning.Message)]
         IAuthenticatedEncryptorDescriptor IInternalXmlKeyManager.DeserializeDescriptorFromKeyElement(XElement keyElement);
     }
 }
```

