2 references to CanCreateAuthenticatedEncryptor
Microsoft.AspNetCore.DataProtection (2)
KeyManagement\DefaultKeyResolver.cs (2)
173if (preferredDefaultKey.IsRevoked || preferredDefaultKey.IsExpired(now) || !CanCreateAuthenticatedEncryptor(preferredDefaultKey, ref decryptRetriesRemaining)) 206where CanCreateAuthenticatedEncryptor(key, ref decryptRetriesRemaining)