2 references to EnsureValidKeyLength
Microsoft.AspNetCore.DataProtection (2)
AuthenticatedEncryption\CngCbcAuthenticatedEncryptorFactory.cs (1)
135
algorithmHandle.GetSupportedKeyLengths().
EnsureValidKeyLength
((uint)configuration.EncryptionAlgorithmKeySize);
AuthenticatedEncryption\CngGcmAuthenticatedEncryptorFactory.cs (1)
101
algorithmHandle.GetSupportedKeyLengths().
EnsureValidKeyLength
((uint)configuration.EncryptionAlgorithmKeySize);